Re: [fpc-devel] pthread scheduler attributes

2013-12-10 Thread Henry Vermaak
On Tue, Dec 10, 2013 at 02:39:12PM +0100, Sven Barth wrote: > Am 10.12.2013 12:51 schrieb "Henry Vermaak" : > > I thought Windows threads always start with the same priority as the > > process? > > Yes and no. On windows processes have a process class and threads have a > priority level. Threads i

Re: [fpc-devel] pthread scheduler attributes

2013-12-10 Thread Sven Barth
Am 10.12.2013 12:51 schrieb "Henry Vermaak" : > > On Tue, Dec 10, 2013 at 12:27:00PM +0100, Michael Van Canneyt wrote: > > On Tue, 10 Dec 2013, Henry Vermaak wrote: > > > > >Hello everyone > > > > > >Could anyone tell me why threads are set to not inherit scheduling > > >parameters from the calling

Re: [fpc-devel] pthread scheduler attributes

2013-12-10 Thread Henry Vermaak
On Tue, Dec 10, 2013 at 12:27:00PM +0100, Michael Van Canneyt wrote: > On Tue, 10 Dec 2013, Henry Vermaak wrote: > > >Hello everyone > > > >Could anyone tell me why threads are set to not inherit scheduling > >parameters from the calling thread? > > > >http://svn.freepascal.org/cgi-bin/viewvc.cgi/

Re: [fpc-devel] pthread scheduler attributes

2013-12-10 Thread Michael Van Canneyt
On Tue, 10 Dec 2013, Henry Vermaak wrote: Hello everyone Could anyone tell me why threads are set to not inherit scheduling parameters from the calling thread? http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/rtl/unix/cthreads.pp?view=markup#l339 No particular reason. Probably because it

[fpc-devel] pthread scheduler attributes

2013-12-10 Thread Henry Vermaak
Hello everyone Could anyone tell me why threads are set to not inherit scheduling parameters from the calling thread? http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/rtl/unix/cthreads.pp?view=markup#l339 This is a bit of a pain, since I can easily set the main thread scheduling parameters by