Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Strange Problem! About multithread.



Dear,

I have developed a multithread program, Thread A wait for user's command and Thread B process some data collecting job.

Some exeception occured in a function in Thread B, every time the program call that  function,  it just executes a instruction (char  c = info["hello"].at[0]), then Thread B receives signal SIGCONT. This information is got from GDB debug.

And i have used STL map in this function ( info is map<string, string>), but i didn't share it between the two thread, so it should be safe, right?

Does somebody know who send SIGCONT to Thread B? and why?
 
Best Wishes
CZ



抢注雅虎免费邮箱3.5G容量,20M附件!
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.