diff options
author | Ryan <ry@tinyclouds.org> | 2009-04-21 23:13:13 +0200 |
---|---|---|
committer | Ryan <ry@tinyclouds.org> | 2009-04-21 23:13:13 +0200 |
commit | 1542fc6a0bf229f140f57742db2d9bbdd01400cb (patch) | |
tree | 47292930eed58828cd40275b9719f49a0eb3f024 /deps/libeio | |
parent | 707f244291ea098963e4226b2d9f5ed5c44a4991 (diff) | |
download | node-new-1542fc6a0bf229f140f57742db2d9bbdd01400cb.tar.gz |
add async dns for Socket
Diffstat (limited to 'deps/libeio')
-rw-r--r-- | deps/libeio/xthread.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/deps/libeio/xthread.h b/deps/libeio/xthread.h index e53cb53da8..c39d39d47e 100644 --- a/deps/libeio/xthread.h +++ b/deps/libeio/xthread.h @@ -127,8 +127,10 @@ thread_create (thread_t *tid, void *(*proc)(void *), void *arg) pthread_attr_init (&attr); pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED); + /* pthread_attr_setstacksize (&attr, PTHREAD_STACK_MIN < sizeof (long) * 4096 ? sizeof (long) * 4096 : PTHREAD_STACK_MIN); + */ #ifdef PTHREAD_SCOPE_PROCESS pthread_attr_setscope (&attr, PTHREAD_SCOPE_PROCESS); #endif |