Search found 8 matches
- Tue Feb 07, 2017 9:45 am
- Forum: HowTos
- Topic: Thread\'s checking
- Replies: 5
- Views: 5073
Re: Thread\'s checking
<r><QUOTE><s>[quote]</s>We could just store the error in the thread and not print it<e>[/quote]</e></QUOTE> I hoped this. Generally, i don't see any error in this situation. I need to wait thread end only. If it already terminated, i expected continuation of normal execution of main thread. <br/> <Q...
- Tue Feb 07, 2017 9:06 am
- Forum: HowTos
- Topic: Thread\'s checking
- Replies: 5
- Views: 5073
Re: Thread\'s checking
<r>Thank you.<br/> <QUOTE><s>[quote]</s>Even if it would, since threads run "in parallel" there is no guarantee that the thread would still exist AFTER you called<br/> some "threadExists" function.<e>[/quote]</e></QUOTE> Yes, of course. I about this has not thought.<br/> <br/> But, why warning messa...
- Tue Feb 07, 2017 8:21 am
- Forum: HowTos
- Topic: Thread\'s checking
- Replies: 5
- Views: 5073
Re: Thread\'s checking
Is this a feature of WinCCOA? I am bewildered 
- Fri Feb 03, 2017 9:37 am
- Forum: HowTos
- Topic: Thread\'s checking
- Replies: 5
- Views: 5073
Thread\'s checking
<r><CODE><s>[code]</s><i> </i>main() { ... int tid = startThread("thread1"); delay(0,5); ... waitThread(tid); // !!!--->>> Output warning to logViewer: Invalid argument in function // This understandable, after all, thread does not exist at this time. ... } void thread1() { } <e>[/code]</e></CODE> Q...
- Wed Jan 25, 2017 10:42 am
- Forum: HowTos
- Topic: Priorities of threads
- Replies: 9
- Views: 6886
Re: Priorities of threads
Yes, my icons are slightly mad, but it is a customer requirement.
- Wed Jan 25, 2017 10:11 am
- Forum: HowTos
- Topic: Priorities of threads
- Replies: 9
- Views: 6886
Re: Priorities of threads
<r><QUOTE><s>[quote]</s>What graphical effect do you see ?<e>[/quote]</e></QUOTE> Perceptible deceleration of coloration at presence some any massive code after dpConnect().<br/> (Whole panel have many (100-200) instances of one icon)<br/> <QUOTE><s>[quote]</s>Why do you think that there is a proble...
- Tue Jan 24, 2017 2:49 pm
- Forum: HowTos
- Topic: Priorities of threads
- Replies: 9
- Views: 6886
Re: Priorities of threads
Thank you, i assumed this, but wanted to control priority of thread directly, or always have work functions thread priority above than other threads.
- Tue Jan 24, 2017 1:17 pm
- Forum: HowTos
- Topic: Priorities of threads
- Replies: 9
- Views: 6886
Priorities of threads
<r>I have vision panel, containing many instances of a certain faceplate.<br/> Panel initialization script of faceplate has a following structure: <CODE><s>[code]</s>main() { dyn_string dpeList; . . . // init consts, dpeList etc. dpConnect("callBackFunc",dpeList); // (answer=true) if(dynlen(getLastE...