History log of /freebsd/lib/libthr/thread/thr_mutex.c (Results 201 – 209 of 209)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 6e1aa51e 31-May-2003 Mike Makonnen <mtm@FreeBSD.org>

I botched one of my committs in the last round. Fix it.


# 1b2a19ce 29-May-2003 Mike Makonnen <mtm@FreeBSD.org>

Make the mutex static initializers look more like the one for
condition variables. Cosmetic.

Explicitly compare against PTHREAD_MUTEX_INITIALIZER. We shouldn't
encourage calls to the mutex functions

Make the mutex static initializers look more like the one for
condition variables. Cosmetic.

Explicitly compare against PTHREAD_MUTEX_INITIALIZER. We shouldn't
encourage calls to the mutex functions with null pointers to mutexes.

Approved by: re/jhb

show more ...


# 7d9d7ca2 23-May-2003 Mike Makonnen <mtm@FreeBSD.org>

Make WARNS2 clean. The fixes mostly included:
o removed unused variables
o explicit inclusion of header files
o prototypes for externally defined functions

Approved by: re/blanket libthr


# 6439d4c2 21-May-2003 Mike Makonnen <mtm@FreeBSD.org>

Insert a debugging aid:
When in either the mutex or cond queue we notice that the thread
is already on one of the queues, don't just simply abort(). Print
out the thread's identifiers and what que

Insert a debugging aid:
When in either the mutex or cond queue we notice that the thread
is already on one of the queues, don't just simply abort(). Print
out the thread's identifiers and what queue it was on.

Approved by: markm/mentor, re/blanket libthr

show more ...


# c984b5a7 12-May-2003 Mike Makonnen <mtm@FreeBSD.org>

msg1


# ae0df91f 06-May-2003 Mike Makonnen <mtm@FreeBSD.org>

o Correct a debug message that refered to the wrong function
o Remove an unncecesary if clause

Approved by: markm (mentor)(implicit)
Reviewd by: jeff


Revision tags: release/4.8.0_cvs, release/4.8.0
# 26f52e2f 02-Apr-2003 Jeff Roberson <jeff@FreeBSD.org>

- Define curthread as _get_curthread() and remove all direct calls to
_get_curthread(). This is similar to the kernel's curthread. Doing
this saves stack overhead and is more convenient to th

- Define curthread as _get_curthread() and remove all direct calls to
_get_curthread(). This is similar to the kernel's curthread. Doing
this saves stack overhead and is more convenient to the programmer.
- Pass the pointer to the newly created thread to _thread_init().
- Remove _get_curthread_slow().

show more ...


# 360a5194 02-Apr-2003 Jeff Roberson <jeff@FreeBSD.org>

- Restore old mutex code from libc_r. It is more standards compliant.
This was changed because originally we were blocking on the umtx and
allowing the kernel to do the queueing. It was decid

- Restore old mutex code from libc_r. It is more standards compliant.
This was changed because originally we were blocking on the umtx and
allowing the kernel to do the queueing. It was decided that the
lib should queue and start the threads in the order it decides and the
umtx code would just be used like spinlocks.

show more ...


# bb535300 01-Apr-2003 Jeff Roberson <jeff@FreeBSD.org>

- Add libthr but don't hook it up to the regular build yet. This is an
adaptation of libc_r for the thr system call interface. This is beta
quality code.


123456789