PATCH: shut up pthread fixme
Marcus Meissner
marcus at jet.franken.de
Sun Oct 7 10:42:13 CDT 2001
Hi,
Ciao, Marcus
Changelog:
Remove the harmless and confusing pthread locking fixme messagess.
Index: pthread.c
===================================================================
RCS file: /home/wine/wine/scheduler/pthread.c,v
retrieving revision 1.16
diff -u -r1.16 pthread.c
--- pthread.c 2001/09/26 23:04:40 1.16
+++ pthread.c 2001/10/07 14:23:49
@@ -113,7 +113,10 @@
void __pthread_kill_other_threads_np(void)
{
/* FIXME: this is supposed to be preparation for exec() */
+ /* actually we never want to kill any of our threads, so we don't even
+ * output this.
if (init_done) P_OUTPUT("fixme:pthread_kill_other_threads_np\n");
+ */
}
strong_alias(__pthread_kill_other_threads_np, pthread_kill_other_threads_np);
@@ -422,21 +425,21 @@
int __pthread_rwlock_rdlock(pthread_rwlock_t *rwlock)
{
- P_OUTPUT("FIXME:pthread_rwlock_rdlock\n");
+ /*P_OUTPUT("FIXME:pthread_rwlock_rdlock\n");*/
return 0;
}
strong_alias(__pthread_rwlock_rdlock, pthread_rwlock_rdlock);
int __pthread_rwlock_tryrdlock(pthread_rwlock_t *rwlock)
{
- P_OUTPUT("FIXME:pthread_rwlock_tryrdlock\n");
+ /*P_OUTPUT("FIXME:pthread_rwlock_tryrdlock\n");*/
return 0;
}
strong_alias(__pthread_rwlock_tryrdlock, pthread_rwlock_tryrdlock);
int __pthread_rwlock_wrlock(pthread_rwlock_t *rwlock)
{
- P_OUTPUT("FIXME:pthread_wrlock_rdlock\n");
+ /*P_OUTPUT("FIXME:pthread_wrlock_rdlock\n");*/
return 0;
}
strong_alias(__pthread_rwlock_wrlock, pthread_rwlock_wrlock);
@@ -450,7 +453,7 @@
int __pthread_rwlock_unlock(pthread_rwlock_t *rwlock)
{
- P_OUTPUT("FIXME:pthread_rwlock_unlock\n");
+ /*P_OUTPUT("FIXME:pthread_rwlock_unlock\n");*/
return 0;
}
strong_alias(__pthread_rwlock_unlock, pthread_rwlock_unlock);
More information about the wine-patches
mailing list