[prev in list] [next in list] [prev in thread] [next in thread] 

List:       uclinux-dev
Subject:    RE: [uClinux-dev] problem with restart of pthread
From:       "Falk Brettschneider" <falk.brettschneider () gmx ! de>
Date:       2005-11-18 11:38:19
Message-ID: 23535.1132313899 () www47 ! gmx ! net
[Download RAW message or body]

Hi Lars + *,
meanwhile I found out the described 800ms for all executions of thread2
after the first restart are just because I use a mutex (for writing to
log-buffer protected with pthread_mutex_lock()/pthread_mutex_unlock()) there
after a while. That seems to trigger the scheduller somehow. If I comment
out the mutex usage, it doesn't switch back to thread1 anymore.
Cheers
F@lk

-- 
Lust, ein paar Euro nebenbei zu verdienen? Ohne Kosten, ohne Risiko!
Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic