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:
Andrey Skvortsov
2010-09-18 22:56:59 -07:00
parent 1464eed466
commit ce13359d38
3 changed files with 50 additions and 3 deletions

25
rtengine/simpleprocess.h Normal file
View 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 */