bool get_front(T &node) { bool ret = false; Lock(); if (!InternalList.empty()) { node = InternalList.front(); ret = true; } Unlock(); return ret; };
bool pop_front(void) { bool ret = false; Lock(); if (!InternalList.empty()) { InternalList.pop_front(); ret = true; } Unlock(); return (ret); };