Libthr stable enough for testing
Mike Makonnen
mtm at identd.net
Wed May 28 21:02:53 PDT 2003
On Wed, 28 May 2003 21:57:35 -0500
Glenn Johnson <glennpj at charter.net> wrote:
>
> It seems to be working fine on a UP machine but it locks up my SMP
> machine just trying to load a gnome session. It leaves an image on the
> screen but the keyboard and mouse stop responding and I can not ssh into
> the box.
Please try the attached patch and let me know how it works.
Cheers.
--
Mike Makonnen | GPG-KEY: http://www.identd.net/~mtm/mtm.asc
mtm at identd.net | D228 1A6F C64E 120A A1C9 A3AA DAE1 E2AF DBCC 68B9
mtm at FreeBSD.Org| FreeBSD - The Power To Serve
Index: lib/libthr/thread/thr_create.c
===================================================================
RCS file: /home/ncvs/src/lib/libthr/thread/thr_create.c,v
retrieving revision 1.9
diff -u -r1.9 thr_create.c
--- lib/libthr/thread/thr_create.c 26 May 2003 00:37:07 -0000 1.9
+++ lib/libthr/thread/thr_create.c 29 May 2003 03:58:47 -0000
@@ -171,7 +171,6 @@
new_thread->uniqueid = next_uniqueid++;
THREAD_LIST_LOCK;
- _thread_critical_enter(new_thread);
/*
* Check if the garbage collector thread
@@ -202,8 +201,6 @@
/* Return a pointer to the thread structure: */
(*thread) = new_thread;
-
- _thread_critical_exit(new_thread);
/*
* Start a garbage collector thread
More information about the freebsd-current
mailing list