Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cmake hang solution?



mlelstv%serpens.de@localhost (Michael van Elst) writes:

>I'm currently testing:
>Index: lib/libpthread/pthread.c
>===================================================================
>RCS file: /cvsroot/src/lib/libpthread/pthread.c,v
>retrieving revision 1.153.2.1
>diff -p -u -r1.153.2.1 pthread.c
>--- lib/libpthread/pthread.c    26 Jan 2020 10:55:16 -0000      1.153.2.1
>+++ lib/libpthread/pthread.c    3 May 2022 09:22:58 -0000
>@@ -430,6 +430,8 @@ pthread_create(pthread_t *thread, const 
> 	* only be one thread before it becomes true.
> 	*/
> 	if (pthread__started == 0) {
>+		_lwp_park(CLOCK_REALTIME, 0, NULL,
>+		    pthread__self()->pt_lid, NULL, NULL);
> 		pthread__start();
> 		pthread__started = 1;
> 	}


With this patch there was so far no cmake/guile type hang in several
pbulk runs.

The samba / python hangup seems to be caused by something else.



Home | Main Index | Thread Index | Old Index