Thread View: borland.public.cppbuilder.nativeapi
2 messages
2 total messages
Started by Sa�a Mrvo�
Fri, 14 Mar 2003 20:30
Main thread & process priority
Author: Sa�a Mrvo�
Date: Fri, 14 Mar 2003 20:30
Date: Fri, 14 Mar 2003 20:30
5 lines
1054 bytes
1054 bytes
Hi,
how can I change priority of a main thread, and priority class of main
process?
Thanks
Re: Main thread & process priority
Author: Dennis Jones
Date: Fri, 14 Mar 2003 21:14
Date: Fri, 14 Mar 2003 21:14
14 lines
1363 bytes
1363 bytes
"Sa�a Mrvo�" <sasa.mrvos@fer.hr> wrote in message news:3e723bee@newsgroups.borland.com... > Hi, > how can I change priority of a main thread, and priority class of main > process? > > Thanks The same as for all other threads: SetThreadPriority() and SetPriorityClass(). To get the handle for the main thread, call GetCurrentThread() from any function that is running in the main thread. - Dennis
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads