Pelles C > Add-ins

Add-In details

(1/2) > >>

John Z:
Do Add-Ins run in their own threads? 

John Z

Grincheux:
Thread or Process?


It can't be in a same thread but in the same process. I think.

John Z:
I'm wondering if Add-In(s) run in their own thread using for example:
hThread = CreateThread(NULL,0,Show_Escape,NULL,NORMAL_PRIORITY_CLASS,&threadPtr);

I've minimized use of globals but knowing if they run in a thread opens up that possibility.

John Z

TimoVJL:
Process Explorer shows only one thread id.


These Add-Ins create own thread:
https://forum.pellesc.de/index.php?topic=7845.msg29154#msg29154
https://forum.pellesc.de/index.php?topic=8107.msg29671#msg29671

John Z:
Thanks very much TimoVJL.

I think that answers my question, well, unless so fast that the thread existence is not captured.  So best to keep Globals to a minimum..

John Z

Navigation

[0] Message Index

[#] Next page

Go to full version