The Linux memory barrier API which includes the mb(), wmb() etc functions should be in /usr/include/asm/system.h but on my Debian install there's
no sign of them. Does this API need to be installed seperately or has it been replaced by something else?
MrSpook_e0mt@hszpo62mi.com writes:
The Linux memory barrier API which includes the mb(), wmb() etc functions
should be in /usr/include/asm/system.h but on my Debian install there's
no sign of them. Does this API need to be installed seperately or has it been
replaced by something else?
The kernel include file defining these is called barrier.h But that's
an internal kernel header and not part of any API.
The Linux memory barrier API which includes the mb(), wmb() etc functions >should be in /usr/include/asm/system.h but on my Debian install there's
no sign of them. Does this API need to be installed seperately or has it been >replaced by something else?
MrSpook_e0mt@hszpo62mi.com writes:
The Linux memory barrier API which includes the mb(), wmb() etc functions >>should be in /usr/include/asm/system.h but on my Debian install there's
no sign of them. Does this API need to be installed seperately or has it been >>replaced by something else?
Why not use the standard gcc extensions?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 285 |
Nodes: | 16 (2 / 14) |
Uptime: | 66:01:11 |
Calls: | 6,488 |
Calls today: | 1 |
Files: | 12,096 |
Messages: | 5,275,047 |