blob: 44d2fda26923695cb874d1c0ce1e8b632d236c17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
<html>
<head>
<title>ACE Frequently Made Mistakes</title>
</head>
<body bgcolor=#ffffff>
<center>
<table border=0 width=450>
<tr>
<td>
<h1>ACE_Task</h1>
<ul>
<li><b>symptom:</b> ACE_Task::getq() returns the error 'resource temporarily unavailable'
<li><b>probable cause:</b> Your Task is a subclass of ACE_Task<ACE_NULL_SYNCH> and
you are using it in a multithreaded program. Try using ACE_Task<ACE_MT_SYNCH>
instead.
<hr noshade>
<li><b>symptom:</b> ACE_Task::wait() throws an assert violation.
<li><b>probable cause:</b> When you activate()d your Task, you specified
THR_DETACHED, which causes wait() to be unable to perform what you
want it to.
</ul>
</td>
</tr>
</table>
</center>
</body>
</html>
|