Tip for the doc team: make http://docwiki.embarcadero.com/Libraries/Seattle/en/System.TMonitor.Enter more clear. Especially that if the same thread calls TMonitor.Enter more than one time, it will allow entry without blocking as per System.Threading.Monitor.Enter Method (Object) documentation https://msdn.microsoft.com/en-us/library/de0542zz

Tip for the doc team: make http://docwiki.embarcadero.com/Libraries/Seattle/en/System.TMonitor.Enter more clear. Especially that if the same thread calls TMonitor.Enter more than one time, it will allow entry without blocking as per System.Threading.Monitor.Enter Method (Object) documentation https://msdn.microsoft.com/en-us/library/de0542zz
http://docwiki.embarcadero.com/Libraries/Seattle/en/System.TMonitor.Enter

Comments

  1. I could be nice to let the customers modify the wiki or at least add comments like on PHP doc for instance. The users contributions are most of the time very valuable.

    ReplyDelete
  2. Jeroen Wiert Pluimers Are you sure you read the MSDN properly?

    It says "It is legal for the same thread to invoke Enter more than once without it blocking; however, an equal number of Exit calls must be invoked before other threads waiting on the object will unblock."

    This is the exact same behavior as in Delphi afaik.

    ReplyDelete
  3. Stefan Glienke As I understand, Jeroen only criticizes the documentation - not the implementation.

    ReplyDelete
  4. Paul TOTH Every user with an EDN account can ask for write permission to the Wiki. As long its reputation is not below all standards there is a good chance that it will be granted. The problem with changes to the wiki is that it should be consistent in all available languages (English, French, German and Japanese). This is the reason why I for myself limit the editing I do to the bare minimum.

    ReplyDelete
  5. Uwe Raabe in the past, I had to re-ask edit permissions for each new version re-explaining to the ever changing persons in charge, so I gave up on that.

    ReplyDelete

Post a Comment