]> granicus.if.org Git - spl/commit
Enhanse the thread interface to do something quasi inteligent
authorbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>
Mon, 12 May 2008 18:54:08 +0000 (18:54 +0000)
committerbehlendo <behlendo@7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c>
Mon, 12 May 2008 18:54:08 +0000 (18:54 +0000)
commita97df54e839fa7f823fdca2a814427c9e4db204f
tree272d58eca2d62dba2be81ecd65c7d1433325b703
parent8464443f8d57a56da6cf4aac727374b8fbd9cd1a
Enhanse the thread interface to do something quasi inteligent
with the function name passed to be used as a thread name.  Leaving
the trailing _thread is just redundant so just strip it this
make the thread names far more readable.

Use a strncpy in spl-mutex  just to be safe.

git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@107 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
modules/spl/spl-mutex.c
modules/spl/spl-thread.c