*
* @param[out] vres_id: Resulting vres_id from the on-the-fly
* generated background contract.
+ *
+ * @return 0 if successful\n
+ * FRSH_ERR_NOT_CONTRACTED_VRES if the thread is already
+ * bound to a vres.
**/
int frsh_thread_join_in_background(frsh_resource_id_t resource_id,
frsh_resource_type_t resource_type,