* Re: test_and_set_bit and friends ?
[not found] <471DC9E8.7040104@cfl.rr.com>
@ 2007-10-24 11:02 ` Mark Hounschell
2007-10-24 17:17 ` H. Peter Anvin
0 siblings, 1 reply; 3+ messages in thread
From: Mark Hounschell @ 2007-10-24 11:02 UTC (permalink / raw)
To: linux-kernel; +Cc: Mark Hounschell
Mark Hounschell wrote:
> These calls apparently are gone. Can someone tell me why and what are
> the replacements.
>
> Thanks in advance
> Mark
>
I got no response from the glibc people on this and the kernel-newbies
list appears dead so I thought I'd try here since these calls are/were
actually kernel based to begin with. Why are they no longer available in
user space and what is one supposed to use now?
Thanks
Mark
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: test_and_set_bit and friends ?
[not found] ` <fa.9c/G28WUUK+ko/84Dr2THTV2Bls@ifi.uio.no>
@ 2007-10-24 14:24 ` Robert Hancock
0 siblings, 0 replies; 3+ messages in thread
From: Robert Hancock @ 2007-10-24 14:24 UTC (permalink / raw)
To: Mark Hounschell; +Cc: linux-kernel, Mark Hounschell
Mark Hounschell wrote:
> Mark Hounschell wrote:
>> These calls apparently are gone. Can someone tell me why and what are
>> the replacements.
>>
>> Thanks in advance
>> Mark
>>
>
> I got no response from the glibc people on this and the kernel-newbies
> list appears dead so I thought I'd try here since these calls are/were
> actually kernel based to begin with. Why are they no longer available in
> user space and what is one supposed to use now?
In general, none of the kernel synchronization-type functions should
have been used in userspace since they often depend on infrastructure
which is only in the kernel in order to work properly. The new headers
installation system strips out any code intended for kernel use only
from the userspace-visible headers.
(Not to mention the licensing issues - the kernel is GPL, not LGPL, so
only GPL programs could have legally done so in the first place.)
--
Robert Hancock Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@nospamshaw.ca
Home Page: http://www.roberthancock.com/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: test_and_set_bit and friends ?
2007-10-24 11:02 ` test_and_set_bit and friends ? Mark Hounschell
@ 2007-10-24 17:17 ` H. Peter Anvin
0 siblings, 0 replies; 3+ messages in thread
From: H. Peter Anvin @ 2007-10-24 17:17 UTC (permalink / raw)
To: Mark Hounschell; +Cc: linux-kernel, Mark Hounschell
Mark Hounschell wrote:
> Mark Hounschell wrote:
>> These calls apparently are gone. Can someone tell me why and what are
>> the replacements.
>>
>> Thanks in advance
>> Mark
>
> I got no response from the glibc people on this and the kernel-newbies
> list appears dead so I thought I'd try here since these calls are/were
> actually kernel based to begin with. Why are they no longer available in
> user space and what is one supposed to use now?
>
There was talk of a libarch for these sorts of things. Don't know if
that ever happened.
-hpa
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-10-24 17:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <471DC9E8.7040104@cfl.rr.com>
2007-10-24 11:02 ` test_and_set_bit and friends ? Mark Hounschell
2007-10-24 17:17 ` H. Peter Anvin
[not found] <fa.qZKT99AD2hc7Jh4djYdvRApuWLw@ifi.uio.no>
[not found] ` <fa.9c/G28WUUK+ko/84Dr2THTV2Bls@ifi.uio.no>
2007-10-24 14:24 ` Robert Hancock
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox