summaryrefslogtreecommitdiff
path: root/src/threads/thrd_create.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/threads/thrd_create.c')
-rw-r--r--src/threads/thrd_create.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/threads/thrd_create.c b/src/threads/thrd_create.c
index 0b64b0c6..2e6a875f 100644
--- a/src/threads/thrd_create.c
+++ b/src/threads/thrd_create.c
@@ -7,6 +7,8 @@
int thrd_create(thrd_t *thr, thrd_start_t func, void *arg)
{
SIGNAL_SAFE(0);
+ /* can't detect overlap because arg size is unknown */
+
typedef void *(*pthread_start_fn)(void*);
switch (pthread_create(thr, 0, (pthread_start_fn)func, arg)) {
case 0: