[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Context switching woes



Did anyone see a horned guy skiing to work today, because the guy at
Microsoft decided to find the pthreads functions I'm looking for, to help me
get a Linux version done...

===
Out of curiosity, I did some checking. With pthreads, there is a mutex
object (there is no special critical section object), which you access
using:

pthread_mutex_init()
pthread_mutex_lock()
pthread_mutex_unlock()
pthread_mutex_destroy()
===

Something is very wrong in Redmond (esp. seeing as this guy is in London)

The Infamous Mark 'Nurgle' Collins
Lead Author - 'Linux Game Programming' (ISBN: 0-7615-3255-2)
WWW: http://www.thisisnurgle.org.uk Mobile: +44 7761 774 152
Email: me@thisisnurgle.org.uk  Spam: spam@thisisnurgle.org.uk

----- Original Message -----
From: Christian Reiniger <creinig@mayn.de>
To: <linuxgames@sunsite.dk>
Sent: Sunday, February 18, 2001 4:29 PM
Subject: Re: Context switching woes

Hmm, "programming with posix threads" says:
look at

sched_get_priority_max()
sched_get_priority_min()
pthread_attr_getinheritsched()
pthread_attr_setschedparam()
pthread_attr_setschedpolicy()



---------------------------------------------------------------------
To unsubscribe, e-mail: linuxgames-unsubscribe@sunsite.dk
For additional commands, e-mail: linuxgames-help@sunsite.dk