[Utils] Add a new method: executeOnGLibEventLoop().