vm::var improved, cleanup

Mostly vm::var initialization introduced.
Added vm::make_var function.
This commit is contained in:
Nekotekina 2015-09-26 23:46:04 +03:00
parent cc02a147d3
commit a974ee009e
116 changed files with 2763 additions and 3019 deletions

View file

@ -27,19 +27,19 @@ public:
~sleep_queue_entry_t();
// add thread to the sleep queue
inline void enter()
void enter()
{
add_entry();
}
// remove thread from the sleep queue
inline void leave()
void leave()
{
remove_entry();
}
// check whether the thread exists in the sleep queue
inline explicit operator bool() const
explicit operator bool() const
{
return find();
}