Fix conflict with the batch thread. Make sure batch thread yields to the thread opening a preview. This should eliminate (all?) crashes when something is being done while batch is running.
This commit is contained in:
25
rtengine/simpleprocess.h
Normal file
25
rtengine/simpleprocess.h
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* File: simpleprocess.h
|
||||
* Author: askv
|
||||
*
|
||||
* Created on September 18, 2010, 8:31 PM
|
||||
*/
|
||||
|
||||
#ifndef SIMPLEPROCESS_H
|
||||
#define SIMPLEPROCESS_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
extern Glib::Thread *batchThread;
|
||||
|
||||
#endif /* SIMPLEPROCESS_H */
|
||||
|
Reference in New Issue
Block a user