diff options
| author | 2022-11-09 16:09:12 +0100 | |
|---|---|---|
| committer | 2022-11-09 16:09:12 +0100 | |
| commit | ec2d6bc4a485e2b928ca626a56662de5f8603766 (patch) | |
| tree | 475d5d729a1f741269d885eacfd9e13ecff51862 | |
| parent | Updated default CSS. (diff) | |
| download | snac2-ec2d6bc4a485e2b928ca626a56662de5f8603766.tar.gz snac2-ec2d6bc4a485e2b928ca626a56662de5f8603766.tar.xz snac2-ec2d6bc4a485e2b928ca626a56662de5f8603766.zip | |
Call pthread_detach().
| -rw-r--r-- | httpd.c | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -319,6 +319,7 @@ void httpd(void) | |||
| 319 | pthread_t cth; | 319 | pthread_t cth; |
| 320 | 320 | ||
| 321 | pthread_create(&cth, NULL, connection_thread, f); | 321 | pthread_create(&cth, NULL, connection_thread, f); |
| 322 | pthread_detach(cth); | ||
| 322 | } | 323 | } |
| 323 | else | 324 | else |
| 324 | httpd_connection(f); | 325 | httpd_connection(f); |