This is the mail archive of the libc-alpha@sourceware.org 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: Accessing another thread's errno


> Is there a way to set the errno variable of a different thread?

No.

> I'm trying to use the Intel Pin instrumentation framework to return
> canned values for some system calls.  

If you really mean system calls and not functions, then you should be
worrying about the kernel convention for returning values and errors in
registers and just use that.



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