- "Yeehaw! It's working! I can't believe it! And they said that an imitation

diamond wasn't good enough..." :-)


git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@384 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
tchernobog 2006-02-22 20:36:33 +00:00
parent 8f655f2f69
commit eecb9f109f
4 changed files with 133 additions and 4 deletions

View file

@ -156,7 +156,7 @@ PythonPolicy::wait_unlock() const
{
PyThreadState *_save;
Py_UNBLOCK_THREADS
sleep(5); // hack'a'ton! magggggiccc nummmbeeerrrrrs!!
sleep(2); // hack'a'ton! magggggiccc nummmbeeerrrrrs!!
// What we should really do here:
/* do {

View file

@ -78,5 +78,5 @@ PythonPolicyManager::init()
char* policy_name = "fcfs";
PythonPolicy policy(policy_name);
policy.configure();
std::cout << policy.get_time_slice() << std::endl;
}