- Add CairoElements
- Start code for double buffering in custom widgets, using an off-screen pixmap. Problem: we don't know the height from the beginning git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@798 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
5b22b503a5
commit
25e5a7319b
6 changed files with 296 additions and 34 deletions
|
@ -173,10 +173,8 @@ PythonPolicy::wait_unlock() const throw(UserInterruptException)
|
|||
{
|
||||
Py_UNBLOCK_THREADS;
|
||||
usleep(WAIT_FOR); // hack'a'ton! magggggiccc nummmbeeerrrrrs!!
|
||||
cout << "got here..." << endl;
|
||||
Py_BLOCK_THREADS;
|
||||
cout << "wow I also got here!" << endl;
|
||||
|
||||
|
||||
PyObject* retval = PyObject_CallMethod(_adapter, "mutex_test_lock", NULL);
|
||||
assert(retval);
|
||||
still_locked = PyObject_IsTrue(retval);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue