Document Empire's thread abstraction. Minor cleanups:
(empth_init): Change first parameter to void **. (empth_sleep): Change parameter to time_t.
This commit is contained in:
parent
89087bef17
commit
060df4ec8f
5 changed files with 132 additions and 20 deletions
|
@ -309,7 +309,7 @@ start_server(int flags)
|
|||
sigaction(SIGPIPE, &act, NULL);
|
||||
#endif /* !_WIN32 */
|
||||
|
||||
empth_init((char **)&player, flags);
|
||||
empth_init((void **)&player, flags);
|
||||
|
||||
empth_create(PP_ACCEPT, player_accept, (50 * 1024), flags,
|
||||
"AcceptPlayers", "Accept network connections", 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue