码迷,mamicode.com
首页 > Web开发 > 详细

The Meta-Object System Signals & Slots

时间:2021-02-15 11:54:10      阅读:0      评论:0      收藏:0      [点我收藏+]

标签:UNC   must   enc   html   from   def   stand   ase   rate   

 

\threadsafe

The \threadsafe command includes a line in the documentation to indicate that the associated class or function is threadsafe and can be called simultaneously by multiple threads, even when separate invocations reference shared data.

The command must stand on its own line.

The documentation generated from this command will be similar to the what is generated for the \reentrant command. See the example above in the introduction.

See also \reentrant and \nonreentrant.

\reentrant

The \reentrant command indicates that the associated class or function can be called simultaneously by multiple threads, provided that each invocation references its own data. See the example above.

The command must stand on its own line.

See also \nonreentrant and \threadsafe.

\nonreentrant

The \nonreentrant command indicates that the associated class or function cannot be called by multiple threads. Nonreentrant is the default case.

The command must stand on its own line.

When a class is marked \reentrant or \threadsafe, functions in that class can be marked nonreentrant using this command in the \fn comment of the functions to be excluded.

See also \reentrant and \threadsafe.

 

The Meta-Object System Signals & Slots

标签:UNC   must   enc   html   from   def   stand   ase   rate   

原文地址:https://www.cnblogs.com/rsapaper/p/14396112.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!