This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
On Fri, Oct 27, 2006 at 11:37:54AM +0200, LOGIE Hans wrote:
> Hi,
>
> I have a problem with the pthread_self() function in eCos. When creating
> POSIX threads and retrieving their thread ID's with pthread_self() there
> are no problems. However when retrieving the thread ID of the main
> thread, there is an assert on line 680 of pthread.cxx which tells that
> the current thread is not a POSIX thread.
I've not been able to reproduce this problem. Attached is a little
patch to one of the test cases. Please try it and see if it works for
you, or throws an assert.
Andrew
Attachment:
pthread1.diff
Description: Text document
-- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |