diff options
author | root <root> | 2008-05-11 20:08:37 +0000 |
---|---|---|
committer | root <root> | 2008-05-11 20:08:37 +0000 |
commit | 501dd04e8b3d25c638e86ac9ba40395deee86d99 (patch) | |
tree | 2b9a690244adb5e7d484f13c169277ef733b18dd | |
parent | 43f39ab64b4406552d75c6bdbf19ebd2b76c84df (diff) |
*** empty log message ***
-rw-r--r-- | eio.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -10,7 +10,7 @@ #include <sys/stat.h> #include <limits.h> #include <fcntl.h> -#include <sched.h> +#include <assert.h> #ifndef EIO_FINISH # define EIO_FINISH(req) ((req)->finish) && !EIO_CANCELLED (req) ? (req)->finish (req) : 0 @@ -327,8 +327,8 @@ static void start_thread (void) { worker *wrk = calloc (1, sizeof (worker)); - if (!wrk) - croak ("unable to allocate worker thread data"); + /*TODO*/ + assert (("unable to allocate worker thread data", !wrk)); X_LOCK (wrklock); |