This is the mail archive of the glibc-bugs@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]

[Bug libc/5436] makecontext doesn't copy longs on x86_64


------- Additional Comments From jakub at redhat dot com  2007-11-30 20:10 -------
Yeah, I know it sucks, but that's what POSIX requires:
The application  shall  ensure that the value of argc matches the number of
arguments of type int passed to func; otherwise, the behavior is  undefined.

So, we'd need a different entrypoint for this, and libgomp would need to have
a fallback to the standard makecontext anyway.

Can't you use just an int index and some wrapper function which will from that
index find in the list of current team resp. thread tasks what fn to call and
what argument should be given to it?

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5436

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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