Cold Help System: Programming: ColdC Reference Manual: Functions: Task: set_user()


INTEGER set_user()

This function sets the task's user to the current object. Later calls to the function user() will return this object, until this function is called again. If no user is set, zero is returned instead. This is intended as an easy means to define a controlling object for a task.


atomic() | caller() | cancel() | definer() | method() | pause() | refresh() | resume() | sender() | stack() | suspend() | task_id() | tasks() | this() | tick() | ticks_left() | set_user() | user() | pass() | task_info() | call_trace() | debug_callers()


the Cold Dark