X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fpthread-lutex.c;h=1f2f4147cd6773fc5a05728b020bfe9a7586e3a1;hb=43764bd6f6d471d361d96dc3bcbd06bd51bc9788;hp=2da0291eba8afeb96411cdac91cbc024d6cda65e;hpb=b6537fc9d37ad800f8faba89ebbde7fdf8910d2a;p=sbcl.git diff --git a/src/runtime/pthread-lutex.c b/src/runtime/pthread-lutex.c index 2da0291..1f2f414 100644 --- a/src/runtime/pthread-lutex.c +++ b/src/runtime/pthread-lutex.c @@ -138,7 +138,11 @@ lutex_lock (tagged_lutex_t tagged_lutex) struct lutex *lutex = (struct lutex*) native_pointer(tagged_lutex); ret = thread_mutex_lock(lutex->mutex); - /* The mutex is locked by the same thread. */ + /* The mutex is locked by the same thread. + * + * FIXME: Usually when POSIX says that "an error value is returned" + * it actually refers to errno... + */ if (ret == EDEADLK) return ret; lutex_assert(ret == 0);