读书人

windows上有没有独占锁共享锁

发布时间: 2012-09-28 00:03:35 作者: rapoo

windows下有没有独占锁,共享锁
为什么百度找不到呢

不是linux

谁有提供准确的资料额



[解决办法]
百度自旋锁。。
[解决办法]
自旋锁 应该是你所说的独占锁吧。。
非自旋锁, 应该是共享锁吧
[解决办法]
Synchronization Functions
The following functions are used in synchronization.



CancelWaitableTimer
CreateEvent
CreateMutex
CreateSemaphore
CreateWaitableTimer
DeleteCriticalSection
EnterCriticalSection
GetOverlappedResult
InitializeCriticalSection
InitializeCriticalSectionAndSpinCount
InterlockedCompareExchange
InterlockedDecrement
InterlockedExchange
InterlockedExchangeAdd
InterlockedIncrement
LeaveCriticalSection
MsgWaitForMultipleObjects
MsgWaitForMultipleObjectsEx
OpenEvent
OpenMutex
OpenSemaphore
OpenWaitableTimer
PulseEvent
QueueUserAPC
ReleaseMutex
ReleaseSemaphore
ResetEvent
SetCriticalSectionSpinCount
SetEvent
SetWaitableTimer
SignalObjectAndWait
TimerAPCProc
TryEnterCriticalSection
WaitForMultipleObjects
WaitForMultipleObjectsEx
WaitForSingleObject
WaitForSingleObjectEx




[解决办法]
ls威武。。。

读书人网 >C语言

热点推荐