[haiku-commits] Re: r34395 - in haiku/trunk/src/libs/compat/freebsd_network: . compat/sys

  • From: Colin Günther <coling@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 02 Dec 2009 13:56:23 +0100

Ingo Weinhold schrieb:
[...]
Please note, that you must not use the ConditionVariable's hash table link for your own purposes in this case, since it is used by Publish().

Mmh, I'm initializing a new hash table, only using the same names as the ConditionVariables (it really was just copy and pasting from condition_variable.cpp). As far as I know it is valid because the scope of both sConditionVariableHash identifiers is limited to their respective module. But once the static versions of Notifiy{One,All} are in place even this name clash will fade away.

CU, Ingo


-Colin

Other related posts: