Disabled a not yet thread-safe part of the new API call

This commit is contained in:
Thomas Schmitt 2012-09-11 12:26:47 +00:00
parent 7515b023c8
commit 50abc6fca7
2 changed files with 13 additions and 1 deletions

View File

@ -813,9 +813,21 @@ int Xorriso_fetch_outlists(struct XorrisO *xorriso, int stack_handle,
{ {
int ret, locked= 0; int ret, locked= 0;
#ifdef Xorriso_fetch_with_msg_queueS
/* >>> This would need more locking around
xorriso->problem_status= sev;
Probably also locking of
Xorriso_info(), Xorriso_result
because unredirected output could collide.
*/
ret= Xorriso_process_msg_queues(xorriso, 0); ret= Xorriso_process_msg_queues(xorriso, 0);
if(ret <= 0) if(ret <= 0)
goto ex; goto ex;
#endif /* Xorriso_fetch_with_msg_queueS */
if((flag & 3) == 0) if((flag & 3) == 0)
flag|= 3; flag|= 3;

View File

@ -1 +1 @@
#define Xorriso_timestamP "2012.09.11.092703" #define Xorriso_timestamP "2012.09.11.122559"