GCC in linux 2.6.8

H

highstatesmanship

GCC in linux 2.6.8
pthread_mutex_lock.c:78: __pthread_mutex_lock: Assertion
`mutex->__data.__owner == 0' failed.
Aborted
 
K

Keith Thompson

GCC in linux 2.6.8
pthread_mutex_lock.c:78: __pthread_mutex_lock: Assertion
`mutex->__data.__owner == 0' failed.
Aborted

Did you have a question, or did you just feel like showing us an error
message?

You might try comp.programming.threads. If you post there, show them
your failing code; don't make them guess what's causing the problem.
 
H

highstatesmanship

//Code sampl

pthread_mutex_lock(&AskBidMgmt_Mutex[stockSymbolIndex
cMaxBidMinAskMutexNum])

//Call inetBidCrossTradeMgm
inetBidCrossTradeMgmt()

pthread_mutex_unlock(&AskBidMgmt_Mutex[stockSymbolIndex
cMaxBidMinAskMutexNum])

pthread_mutex_lock(&AskBidMgmt_Mutex[stockSymbolIndex
cMaxBidMinAskMutexNum])

//Call GeneralInser
int r = GeneralInsert()

pthread_mutex_unlock(&AskBidMgmt_Mutex[stockSymbolIndex
cMaxBidMinAskMutexNum])

//..
 
V

Vladimir S. Oka

highstatesmanship said:
//Code sample

<snip meaningless, and non-standard C code example>

So, you not only enjoy posting error messages, without any question or
explanation whatsoever. Now it's the code as well, and it's not even
barely Standard C.

I don't think mind-readers regularly hang out in comp.* newsgroups.
 
T

tmp123

highstatesmanship said:
GCC in linux 2.6.8
pthread_mutex_lock.c:78: __pthread_mutex_lock: Assertion
`mutex->__data.__owner == 0' failed.
Aborted

Minimalistic post?
A new marketing strategy to promote a WWW trading service?
The dark side of trolling?
Probably, the subject in the program is the same than in the post: init
line missing.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,175
Messages
2,570,946
Members
47,498
Latest member
yelene6679

Latest Threads

Top