Changeset 4125 for trunk/manuals/userman/threads.html
- Timestamp:
- 03/04/08 16:19:45 (10 months ago)
- Files:
-
- 1 modified
-
trunk/manuals/userman/threads.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/manuals/userman/threads.html
r3852 r4125 211 211 212 212 <p> 213 The <code>synchronized/1</code> directive must precede any local calls to the synchronized predicate (or synchronized non-terminal) in order to ensure proper compilation. In addition, as each Logtalk entity is independently compiled, this directive must be included in every object or category that contains a definition for the described predicate, even if the predicate declaration is inherited from another entity, in order to ensure proper compilation. 213 The <code>synchronized/1</code> directive must precede any local calls to the synchronized predicate (or synchronized non-terminal) in order to ensure proper compilation. In addition, as each Logtalk entity is independently compiled, this directive must be included in every object or category that contains a definition for the described predicate, even if the predicate declaration is inherited from another entity, in order to ensure proper compilation. Note that a synchronized predicate cannot be declared dynamic. To ensure atomic updates of a dynamic predicate, declare as synchronized the predicate performing the update. 214 214 </p> 215 215 <p> … … 248 248 <div class="copyright"> 249 249 <span>Copyright © <a href="mailto:pmoura@logtalk.org">Paulo Moura</a> — <a href="http://logtalk.org">Logtalk.org</a></span><br/> 250 <span>Last updated on: September 15, 2007</span>250 <span>Last updated on: March 5, 2008</span> 251 251 </div> 252 252 <div class="navbottom">
