Melchior FRANZ wrote:
* Harald JOHNSEN -- Saturday 12 November 2005 17:09:
Melchior FRANZ wrote:
I've just implemented the check for stale METAR reports (to stop
fetching after 10 stale reports). This triggers an assert in
SGThread:

It's perhaps because of the PTHREAD_CREATE_DETACHED attribute of the thread.

Yes, that's very likely the case, according to the man-pages. So, how
should the fix look like?

- do not create the thread with PTHREAD_CREATE_DETACHED, or
- do not try to join threads

If it's causing any troubles I would remove the first three lined of SGThread::start() since we've done without it for many years.

Erik

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to