This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: get/set/swapcontext + linuxthreads/glibc + MTasker


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Roland McGrath wrote:

> You can use sigaltstack for each thread with N separate signal stacks.

There is no wording in the standard whether the signal stack is a
process or thread property.  The former makes no sense but this would
"only" require not allowing the use of sigaltstack in multi-threaded
apps.  I've an interpretation request outstanding.

In any case, no portable application can use it anyway since this is in
the standard:


Use of this function by library threads that are not bound to
kernel-scheduled entities results in undefined behavior.


- -- 
- --------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+KHMU2ijCOnn/RHQRAqXsAJ90F6AxEbgk2nCDZZ2uV9hLqm0qZACgk3wD
VIqL9q8XJF6LwIBzzu86wNk=
=Tlmt
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]