help-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libthread and libtrivfs


From: Niels Möller
Subject: Re: libthread and libtrivfs
Date: 26 Feb 2002 10:09:35 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

Neal H Walfield <neal@cs.uml.edu> writes:

> Multithreaded applications cannot safely use the stubs; they
> obviously need real locking.

It would be nice to get better error reporting in this case. Perhaps
there could a stub for the thread creation function that displays a
message and aborts?

Or if that is for some reason difficult to get right, one could add a
special function ensure_threads_are_enabled that can be called from
the multithreaded mainloop in libtrivfs? The implementation included
with the stubs should display a message and abort, while the
implementation in the real threads library should do nothing.

/Niels



reply via email to

[Prev in Thread] Current Thread [Next in Thread]