Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 2001 12:25:35 +1000
From:      Andrew Kenneth Milton <akm@mail.theinternet.com.au>
To:        Jason Evans <jasone@canonware.com>
Cc:        Andrew Kenneth Milton <akm@mail.theinternet.com.au>, current@freebsd.org
Subject:   Re: Voodoo3 + XFree4 + DRM - simple_lock ? :-)
Message-ID:  <20010131122535.S11513@zeus.theinternet.com.au>
In-Reply-To: <20010130131111.F17900@canonware.com>; from Jason Evans on Tue, Jan 30, 2001 at 01:11:11PM -0800
References:  <20010131045430.R11513@zeus.theinternet.com.au> <20010130131111.F17900@canonware.com>

next in thread | previous in thread | raw e-mail | index | archive | help
+-------[ Jason Evans ]----------------------
|
| > What are the 'new' corresponding structures and calls for simple_lock ?
| 
| Mutexes should be used in places where simplelocks were used.  With few
| exceptions, sleep mutexes should be used (even though simplelocks were spin
| locks).  See mutex(9) for details.  Be forewarned that there is work in
| progress to clean up the mutex API that will probably be checked in within
| a week.  Transitioning from the current mutex API to the upcoming one will
| be trivial, but it will have to be done if you convert to mutexes in the
| next few days.

I can wait a week to fix the code, I guess I should send it back to VA
to see if they'll actually include it in the base XFree Release. Someone
else is already working on a Glide3 port, so X would be looking pretty useful
for Voodoo3 owners d8)

Too bad I need those locks, the pulsar hack that comes with xscreensaver
normally runs around 50fps (or 0.5 fps w/o drm) -- I get way over 200fps 
with all the locks disabled d8) Of course if I suspend it while its running 
the machine freezes... I can live with that for a while anwyay.

-- 
Totally Holistic Enterprises Internet|  P:+61 7 3870 0066   | Andrew Milton
The Internet (Aust) Pty Ltd          |  F:+61 7 3870 4477   | 
ACN: 082 081 472 ABN: 83 082 081 472 |  M:+61 416 022 411   | Carpe Daemon
PO Box 837 Indooroopilly QLD 4068    |akm@theinternet.com.au| 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010131122535.S11513>