Last change
on this file since 97dff0 was 415ddd, checked in by Frederik Heber <heber@…>, 11 years ago |
ActionQueue now contains a run thread.
- otherwise the progress bar of the QtMainWindow cannot be seen as
waitForResults() takes up all of the executing thread.
- added mutex for operations modifying the queue.
- added ActionQueue::run() and ::stop(), used by friend stopQueue().
- insertAction() now makes use of a tempqueue that is added to true queue
during run() instead of calling the actions directly.
- new stopQueue() in cleanUp.hpp is used by module_exit in pyMoleCuilder and
in main() before saveAll().
- cleanup: printTiming() requires now list of action tokens and added new
stopAndPurgeQueue() to place waiting for Actions to end into extra function.
- added ActionQueue::wait() which allows for synchronization in python scripts,
is ignored in session python scripts. Otherwise we wait for ActionQueue's
queue to empty during execution of load-session which hangs.
- DOCU: added note to python documentation.
- added waitQueue() also to purgeStaticInstances().
- static UIFactory::isFactoryPresent() added that allows checking whether
we have a UI or are executed within a python script (i.e. pyMoleCuilder).
- DOCU: Extended docu on threads and who this affects python scripts.
- TESTFIX: changed regression tests on storing python sessions.
|
-
Property mode
set to
100644
|
File size:
328 bytes
|
Line | |
---|
1 | /*
|
---|
2 | * builder_init.hpp
|
---|
3 | *
|
---|
4 | * Created on: Dec 15, 2010
|
---|
5 | * Author: heber
|
---|
6 | */
|
---|
7 |
|
---|
8 | #ifndef BUILDER_INIT_HPP_
|
---|
9 | #define BUILDER_INIT_HPP_
|
---|
10 |
|
---|
11 | // include config.h
|
---|
12 | #ifdef HAVE_CONFIG_H
|
---|
13 | #include <config.h>
|
---|
14 | #endif
|
---|
15 |
|
---|
16 |
|
---|
17 | void ProgramHeader();
|
---|
18 | void initGeneral();
|
---|
19 | void initUI(int argc, char **argv);
|
---|
20 | void doUI();
|
---|
21 |
|
---|
22 | #endif /* BUILDER_INIT_HPP_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.