[lng-odp] Try operation for rwlock and recursive_rwlock

2016-02-25 Thread Sorin Vultureanu
Hi, The BSD TCP/IP stack requires try operation for recursive write locking. The OFP project has some malfunctioning implementation of recursive rwlocks with this try operation. 1. Can ODP add try operation for recursive_rwlock and rwlock? 2. How can I implement this try operation over available

Re: [lng-odp] Try operation for rwlock and recursive_rwlock

2016-03-01 Thread Bill Fischofer
This would seem to be a very reasonable and straightforward add, however trylock variants should be added to the non-recursive rwlock calls as well. Based on internal discussions, we will finalize this at BKK and it will probably be part of Monarch RC2. On Thu, Feb 25, 2016 at 7:28 AM, Sorin Vult