[concurrency-interest] What does it mean to synchronize "return
Gregg G. Wonderly
Wed, 14 Jul 2004 10:22:20 -0500
>I was looking at some code last night that did the following.
>I was wondering - is there anything special about synchronizing a critical
>section of code that is a return statement?
The logic you show provides some consistency it seems between the use of the
index curr and the value at hArray[curr]. Without seen what calls these
methods and under what circumstances, it would be difficult to say that the
synchronization is not required.
email@example.com (Cyte Technologies Inc)