Counting the clock cycles

2002-07-17 Thread Andrei Cojocaru
anks once again. Andrei Cojocaru [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Counting the clock cycles

2002-07-17 Thread Andrei Cojocaru
doesn't fit my criteria since it changes, bah I'll just use gettimeofday since it's a portable API and hope the computers I run it on don't change their blocks by too much... - Original Message - From: "Cy Schubert - CITS Open Systems Group" <[EMAIL

Re: Counting the clock cycles

2002-07-17 Thread Andrei Cojocaru
of it) for different internal operations in the program. - Original Message - From: "Darren Pilgrim" <[EMAIL PROTECTED]> To: "Andrei Cojocaru" <[EMAIL PROTECTED]> Cc: "Cy Schubert - CITS Open Systems Group" <[EMAIL PROTECTED]>; <[EMAIL

Re: Counting the clock cycles

2002-07-17 Thread Andrei Cojocaru
yes but how do you get the uptime? - Original Message - From: "Julian Elischer" <[EMAIL PROTECTED]> To: "Darren Pilgrim" <[EMAIL PROTECTED]> Cc: "Andrei Cojocaru" <[EMAIL PROTECTED]>; "Cy Schubert - CITS Open Systems Group" <

Re: Counting the clock cycles

2002-07-18 Thread Andrei Cojocaru
Does FreeBSD do that or do I have to look for an option in the BIOS? Andrei Cojocaru [EMAIL PROTECTED] - Original Message - From: "Terry Lambert" <[EMAIL PROTECTED]> To: "Andrei Cojocaru" <[EMAIL PROTECTED]> Cc: "Darren Pilgrim" <[EMAIL

Question about light-weight mutex (kind of)

2002-10-10 Thread Andrei Cojocaru
a transaction system I'm working on, and I need a way for a thread waiting on a lock to be notified when a lock is gotten (and without having the thread block [that's why I want it to spin]). Any hints would be appreciated thanks, once again. Andrei Cojocaru [EMAIL PROTECTED]

Re: Question about light-weight mutex (kind of)

2002-10-11 Thread Andrei Cojocaru
Ah, no. I am writing my own R/W lock because I need the ability to offload them to disk. I think condition variables should be fast enough for what I'm looking for. Any ideas? - Original Message - From: "Peter Pentchev" <[EMAIL PROTECTED]> To: "Andrei Cojoca