Invention Grant
US07934062B2 Read/write lock with reduced reader lock sampling overhead in absence of writer lock acquisition 有权
读取/写入锁定与减少读取器锁取样开销,没有写入器锁获取

Read/write lock with reduced reader lock sampling overhead in absence of writer lock acquisition
Abstract:
An improved reader-writer locking for synchronizing access to shared data. When writing the shared data, a writer flag is set and a lock is acquired on the shared data. The shared data may be accessed following the expiration of a grace period and a determination that there are no data readers accessing the shared data. When reading the shared data, the writer flag is tested that indicates whether a data writer is attempting to access the shared data. If the writer flag is not set, the shared data is accessed using a relatively fast read mechanism. If the writer flag is set, the shared data is accessed using a relatively slow read mechanism.
Information query
Patent Agency Ranking
0/0