MCPcopy Create free account

hub / github.com/alexcrichton/green-rs / functions

Functions573 in github.com/alexcrichton/green-rs

Methodnew
Create a new uv_idle_t handle. This function is unsafe as a successful return value is not automatically deallocated.
librustuv/src/raw/idle.rs:25
Methodnew
Create a new uv_tcp_t handle. This function is unsafe as a successful return value is not automatically deallocated.
librustuv/src/raw/tcp.rs:27
Methodnew
Create a new uv event loop. This function is unsafe becuase it will leak the event loop as there is no destructor on the returned value.
librustuv/src/raw/loop_.rs:25
Methodnew
Create a new uv_timer_t handle. This function is unsafe as a successful return value is not automatically deallocated.
librustuv/src/raw/timer.rs:25
Methodnew
(pool_id: uint, event_loop: Box<EventLoop + Send>, work_queue: deque::Worker<Box
libgreen/src/sched.rs:128
Methodnew
Returns the default configuration, as determined the environment variables of this process.
libgreen/src/lib.rs:353
Methodnew
()
libgreen/src/sleeper_list.rs:23
Methodnew
Allocate a new stack of `size`. If size = 0, this will fail. Use `dummy_stack` if you want a zero-sized stack.
libgreen/src/stack.rs:42
Methodnew
()
libgreen/src/basic.rs:42
Methodnew
Creates a new green task which is not homed to any particular scheduler and will not have any contained Task structure.
libgreen/src/task.rs:180
Methodnew
Create a new context that will resume execution by running proc() The `init` function will be run with `arg` and the `start` procedure split up into
libgreen/src/context.rs:52
Methodnew_homed
Creates a new task (like `new`), but specifies the home for new task.
libgreen/src/task.rs:187
Methodnew_on
Same as `new`, but specifies what event loop to be created on.
librustuv/src/async.rs:40
Methodnew_on
Same as `new`, but specifies what event loop to be created on.
librustuv/src/tty.rs:31
Methodnew_on
(eloop: &mut EventLoop)
librustuv/src/signal.rs:34
Methodnew_on
(eloop: &mut EventLoop, cb: Box<Callback + Send>)
librustuv/src/idle.rs:26
Methodnew_on
Same as `new`, but specifies what event loop to be created on.
librustuv/src/timer.rs:46
Methodnew_special
(pool_id: uint, event_loop: Box<EventLoop + Send>, work_queue: d
libgreen/src/sched.rs:141
Methodnew_typed
Creates a new green task with the specified coroutine and type, this is useful when creating scheduler tasks.
libgreen/src/task.rs:210
Functionno_missed_messages
()
libgreen/src/sched.rs:1300
Methodnodelay
(&mut self, enabled: bool)
librustuv/src/tcp.rs:175
Methodnodelay
(&mut self, enable: bool)
librustuv/src/raw/tcp.rs:40
Functionon_appropriate_sched
Grab both the scheduler and the task from TLS and check if the task is executing on an appropriate scheduler.
libgreen/src/sched.rs:1193
Functionon_exit
(handle: *mut uvll::uv_process_t, exit_status: i64, term_signal: libc::c_i
librustuv/src/process.rs:132
Methodoneshot
Schedule a callback to be run once after the specified duration has elapsed. See [`std::io::Timer::oneshot`][1] for semantic information. [1]: http:
librustuv/src/timer.rs:101
Methodonetime
(handle: *mut uvll::uv_idle_t)
librustuv/src/event_loop.rs:113
Methodopen
(&mut self, sock: uvll::uv_os_socket_t)
librustuv/src/raw/udp.rs:33
Methodopen
(&mut self, file: libc::c_int)
librustuv/src/raw/pipe.rs:33
Methodopen
(&mut self, uv_loop: Loop, path: CString, flags: c_int, mode: c_int, cb: uvll:
librustuv/src/raw/fs.rs:101
Methodopen
(&mut self, sock: uvll::uv_os_socket_t)
librustuv/src/raw/tcp.rs:33
Methodopen_mode
(path: &Path, mode: io::FileMode, access: io::FileAccess)
librustuv/src/fs.rs:39
Methodopen_mode_on
(eloop: &mut EventLoop, path: &Path, mode: io::FileMode,
librustuv/src/fs.rs:46
Methodopen_on
(eloop: &mut EventLoop, file: libc::c_int)
librustuv/src/pipe.rs:79
Methodopen_on
(eloop: &mut EventLoop, file: libc::c_int)
librustuv/src/tcp.rs:82
Methodpath
(&self)
librustuv/src/fs.rs:84
Methodpath
(&'a self)
librustuv/tests/fs.rs:34
Methodpausable_idle_callback
(&mut self, cb: Box<green::Callback + Send>)
librustuv/src/event_loop.rs:123
Methodpause
(&mut self)
librustuv/src/idle.rs:45
Functionpeer_name
(addr: SocketAddr)
librustuv/tests/tcp.rs:474
Methodperiodic
Schedule a callback to be run after each `dur` amount of time that passes. See [`std::io::Timer::periodic`][1] for semantic information. [1]: http:/
librustuv/src/timer.rs:120
Methodpid
(&self)
librustuv/src/raw/process.rs:28
Methodpush
(&self, t: UvResult<T>)
librustuv/src/timeout.rs:423
Methodpush
(&self, t: T)
libgreen/src/message_queue.rs:58
Methodraw
Gain access to the underlying raw async handle. This function is unsafe as there is no guarantee that any safe modifications to the async handle are
librustuv/src/async.rs:60
Methodraw
Gain access to the underlying raw signal handle. This function is unsafe as there is no guarantee that any safe modifications to the signal handle ar
librustuv/src/signal.rs:86
Methodraw
Gain access to the underlying raw idle handle. This function is unsafe as there is no guarantee that any safe modifications to the idle handle are ac
librustuv/src/idle.rs:41
Methodraw
Gain access to the underlying raw timer handle. This function is unsafe as there is no guarantee that any safe modifications to the timer handle are
librustuv/src/timer.rs:143
Methodraw
(&self)
librustuv/src/raw/udp.rs:134
Methodraw
(&self)
librustuv/src/raw/process.rs:54
Methodraw
(&self)
librustuv/src/raw/async.rs:43
Methodraw
(&self)
librustuv/src/raw/tty.rs:67
Methodraw
(&self)
librustuv/src/raw/pipe.rs:55
Methodraw
(&self)
librustuv/src/raw/getaddrinfo.rs:49
Methodraw
(&self)
librustuv/src/raw/signal.rs:54
Methodraw
(&self)
librustuv/src/raw/udp_send.rs:48
Methodraw
(&self)
librustuv/src/raw/idle.rs:49
Methodraw
(&self)
librustuv/src/raw/fs.rs:301
Methodraw
(&self)
librustuv/src/raw/write.rs:42
Methodraw
(&self)
librustuv/src/raw/tcp.rs:95
Methodraw
(&self)
librustuv/src/raw/shutdown.rs:38
Methodraw
(&self)
librustuv/src/raw/timer.rs:65
Methodread
(&mut self, buf: &mut [u8])
librustuv/src/stream.rs:70
Methodread
(&mut self, uv_loop: Loop, file: c_int, buf: &mut [u8], offset: i64, cb: uvll::uv_fs_cb)
librustuv/src/raw/fs.rs:111
Functionread_cb
When a stream has read some data, we will always forcibly stop reading and return all the data read (even if it didn't fill the whole buffer).
librustuv/src/stream.rs:158
Methodreaddir
(&mut self, uv_loop: Loop, path: CString, flags: c_int, cb: uvll::uv_fs_cb)
librustuv/src/raw/fs.rs:164
Methodreadlink
(&mut self, uv_loop: Loop, path: CString, cb: uvll::uv_fs_cb)
librustuv/src/raw/fs.rs:230
Methodreawaken_remotely
This function is used to remotely wakeup this green task back on to its original pool of schedulers. In order to do so, each tasks arranges a SchedHan
libgreen/src/task.rs:365
Methodrecv_cb
(handle: *mut uvll::uv_udp_t, nread: libc::ssize_t, buf: *const uvll::uv_buf_t,
librustuv/src/udp.rs:109
Methodrecv_from
(&mut self, buf: &mut [u8])
librustuv/src/udp.rs:75
Methodremote_callback
(&mut self, f: Box<green::Callback + Send>)
librustuv/src/event_loop.rs:129
Methodrename
(&mut self, uv_loop: Loop, path: CString, new_path: CString, cb: uvll::uv_fs_cb)
librustuv/src/raw/fs.rs:200
Functionrequest_sanity_check
()
librustuv/src/uvll.rs:395
Methodreset_mode
()
librustuv/src/raw/tty.rs:34
Methodresume
(&mut self)
librustuv/src/idle.rs:46
Methodresume_task_immediately_cl
(sched: Box<Scheduler>, cur: Box<GreenTask>,
libgreen/src/sched.rs:711
Methodrmdir
(&mut self, uv_loop: Loop, path: CString, cb: uvll::uv_fs_cb)
librustuv/src/raw/fs.rs:155
Functionrmdir_recursive
Removes a directory at this path, after removing all its contents. Use carefully! # Error See `file::unlink` and `fs::readdir`
librustuv/src/fs.rs:402
Methodrun
(&mut self)
libgreen/src/basic.rs:106
Methodrun_task_later
(mut cur: Box<GreenTask>, next: Box<GreenTask>)
libgreen/src/sched.rs:823
Functionruntest
(p: proc(): Send)
librustuv/tests/all.rs:40
Methodseek
(&mut self, pos: i64, whence: io::SeekStyle)
librustuv/src/fs.rs:177
Methodsend
(&mut self, uv_loop: &Loop, node: Option<&str>, service: Optio
librustuv/src/raw/getaddrinfo.rs:21
Methodsend
(&mut self, handle: Udp, buf: &[u8], addr: ip::SocketAddr,
librustuv/src/raw/udp_send.rs:23
Methodsend
(&mut self, handle: &mut U, buf: &[u8], cb:
librustuv/src/raw/write.rs:21
Methodsend
(&mut self, handle: &mut U, cb: uvll::uv_shutdown_cb)
librustuv/src/raw/shutdown.rs:19
Methodsend_cb
(req: *mut uvll::uv_udp_send_t, status: libc::c_int)
librustuv/src/udp.rs:161
Methodsend_task_home
(task: Box<GreenTask>)
libgreen/src/sched.rs:557
Methodsend_to
(&mut self, buf: &[u8], dst: ip::SocketAddr)
librustuv/src/udp.rs:140
Functionsender
(tx: Sender<()>)
librustuv/tests/signal.rs:8
Functionsender
(tx: Sender<()>)
librustuv/tests/timer.rs:6
Methodset_data
(&mut self, data: *mut libc::c_void)
librustuv/src/raw/mod.rs:84
Methodset_data
(&mut self, data: *mut libc::c_void)
librustuv/src/raw/mod.rs:128
Methodset_raw
(&mut self, raw: bool)
librustuv/src/tty.rs:74
Methodset_read_timeout
(&mut self, dur: Option<Duration>)
librustuv/src/udp.rs:208
Methodset_read_timeout
(&mut self, dur: Option<Duration>)
librustuv/src/pipe.rs:167
Methodset_read_timeout
(&mut self, dur: Option<Duration>)
librustuv/src/tcp.rs:152
Methodset_repeat
(&mut self, repeat: u64)
librustuv/src/raw/timer.rs:44
Methodset_timeout
(&mut self, timeout: Option<u64>)
librustuv/src/process.rs:276
Methodset_timeout
Sets the pending timeout to the value specified. The home/loop variables are used to construct a timer if one has not been previously constructed. T
librustuv/src/timeout.rs:118
Functionshutdown_cb
(req: *mut uvll::uv_shutdown_t, status: libc::c_int)
librustuv/src/tcp.rs:383
← previousnext →401–500 of 573, ranked by callers