Locking readers–writer locks 2 times in the same thread

后端 未结 0 785
花落未央
花落未央 2020-12-03 02:26

I have:

pthread_rwlock_t lock = (pthread_rwlock_t)PTHREAD_RWLOCK_INITIALIZER;

What happens in the following scenarios:

Scenari

相关标签:
回答
  • 消灭零回复
提交回复
热议问题