Re-entrant read/write locking construct?

后端 未结 2 819
孤城傲影
孤城傲影 2020-12-30 04:12

I\'m an experienced .NET programmer and stretching my legs with iOS. One of my favorite multi-threading constructs in .NET is the ReaderWriterLock. It allows for multiple

2条回答
  •  一整个雨季
    2020-12-30 04:28

    From the iOS Threading Programming Guide:

    The system supports read-write locks using POSIX threads only. For more information on how to use these locks, see the pthread man page.

    So I guess if pthreads don't support re-entrancy, the answer is no.

提交回复
热议问题