diff options
| author | iceyrazor <iceyrazor@mailfence.com> | 2026-10-11 00:21:32 -0500 |
|---|---|---|
| committer | iceyrazor <iceyrazor@mailfence.com> | 2026-10-11 00:21:32 -0500 |
| commit | a926ae205ecb42a603e428346cf99dc1e66ed691 (patch) | |
| tree | 9d207cf8f84dc1d9e48b541f0a18309f7f96c442 /launch-web.h | |
| parent | 3521cc6e1a87f16c8db5c3c5a0c3cf59e1ff04cb (diff) | |
major refactor: Some Thread Safety
- removed web. silly to have that in a socket library
- made shared changing variables atomic
- added mutex locking to some things
- removed requirement for iceys-c-libs (that was a web thing)
- removed launch variable
- check if on_message is actually defined
- init on_message and on_disconnect NULL
Diffstat (limited to 'launch-web.h')
| -rwxr-xr-x | launch-web.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/launch-web.h b/launch-web.h deleted file mode 100755 index 0a25288..0000000 --- a/launch-web.h +++ /dev/null @@ -1,15 +0,0 @@ -#ifndef launch_web_h -#define launch_web_h -#include <unistd.h> -#include <stdio.h> -#include <string.h> -#include <pthread.h> -#include <netinet/in.h> -#include <sys/socket.h> -#include <Server.h> -#include <iceys-utils.h> - -void server_close(struct Server *server); - -pthread_t launch(struct Server *server); -#endif |
