MCPcopy Create free account

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

Functions573 in github.com/alexcrichton/green-rs

↓ 2 callersMethodstart
Point to the low end of the allocated stack
libgreen/src/stack.rs:81
↓ 2 callersMethodtake_unwrap_home
(&mut self)
libgreen/src/task.rs:264
↓ 2 callersFunctionto_sockaddr
(s: &str, port: u16)
librustuv/tests/tcp.rs:9
↓ 2 callersMethodtry_steals
Try stealing from all queues the scheduler knows about. This naive implementation can steal from our own queue or from other special schedulers.
libgreen/src/sched.rs:503
↓ 2 callersMethodwrite_at
Write the contents of `buf` at position `pos`. If `pos` is -1, then the data will be written at the current position in the file.
librustuv/src/fs.rs:134
↓ 1 callersFunctionaccept
(listener: &PipeListener)
librustuv/src/pipe.rs:290
↓ 1 callersFunctionaccept
(listener: &TcpListener)
librustuv/src/tcp.rs:300
↓ 1 callersMethodaccept
(&mut self)
librustuv/src/pipe.rs:309
↓ 1 callersMethodactive
(&self)
libgreen/src/lib.rs:553
↓ 1 callersMethodas_uint
(&self)
libgreen/src/task.rs:309
↓ 1 callersMethodbind
(addr: ip::SocketAddr)
librustuv/src/udp.rs:51
↓ 1 callersMethodbind
(name: &T)
librustuv/src/pipe.rs:218
↓ 1 callersMethodbind
(addr: ip::SocketAddr)
librustuv/src/tcp.rs:223
↓ 1 callersMethodborrow
Borrow a reference to the local event loop. If there is no local event loop, or the local event loop is already borrowed, then an error is returned.
librustuv/src/event_loop.rs:49
↓ 1 callersMethodcheck
Check at runtime that the task has *not* transplanted itself to a different I/O loop while executing.
librustuv/src/homing.rs:118
↓ 1 callersMethodclone
(&self)
librustuv/src/pipe.rs:186
↓ 1 callersMethodclone
(&self)
librustuv/src/tcp.rs:191
↓ 1 callersMethodclone
(&self)
librustuv/src/queue.rs:142
↓ 1 callersMethodclone
(&self)
librustuv/src/timeout.rs:177
↓ 1 callersMethodclone
(&self)
libgreen/src/message_queue.rs:64
↓ 1 callersMethodclose
Invokes uv_close This is unsafe as there is no guarantee that this handle is not actively being used by other objects.
librustuv/src/raw/mod.rs:94
↓ 1 callersMethodclose
Close an event loop. This function is unsafe because there is no guarantee that the event loop is not currently active elsewhere. If the event loops
librustuv/src/raw/loop_.rs:61
↓ 1 callersMethodconnect
(name: &T)
librustuv/src/pipe.rs:88
↓ 1 callersMethodconnect
(addr: ip::SocketAddr)
librustuv/src/tcp.rs:91
↓ 1 callersMethoddecrement
(&mut self)
libgreen/src/lib.rs:557
↓ 1 callersMethoddequeue
Dequeue a blocked task with a specified token. This is unsafe because it is only safe to invoke while on the home event loop, and there is no guarante
librustuv/src/access.rs:95
↓ 1 callersMethoddo_work
(mut self: Box<Scheduler>, stask: Box<GreenTask>)
libgreen/src/sched.rs:438
↓ 1 callersMethoddrop
(&mut self)
libgreen/src/sched.rs:1389
↓ 1 callersMethodend
Point one uint beyond the high end of the allocated stack
libgreen/src/stack.rs:87
↓ 1 callersMethodfdatasync
(&mut self, uv_loop: Loop, file: c_int, cb: uvll::uv_fs_cb)
librustuv/src/raw/fs.rs:257
↓ 1 callersMethodfind_work
First step in the process is to find a task. This function does that by first checking the local queue, and if there is no work there, trying to steal
libgreen/src/sched.rs:465
↓ 1 callersMethodfire
(&mut self)
libgreen/src/basic.rs:168
↓ 1 callersMethodfstat
(&mut self, uv_loop: Loop, file: c_int, cb: uvll::uv_fs_cb)
librustuv/src/raw/fs.rs:191
↓ 1 callersMethodftruncate
(&mut self, uv_loop: Loop, file: c_int, offset: i64, cb: uvll::uv_fs_cb)
librustuv/src/raw/fs.rs:266
↓ 1 callersFunctionget_host_addresses_on
Same as `get_host_addresses`, but specifies what event loop to run on.
librustuv/src/addrinfo.rs:45
↓ 1 callersMethodgetpeername
(&mut self)
librustuv/src/raw/tcp.rs:83
↓ 1 callersMethodgo_home
This function will move tasks to run on their home I/O scheduler. Note that this function does *not* pin the task to the I/O scheduler, but rather it
librustuv/src/homing.rs:66
↓ 1 callersMethodgrant
Grants access to half of a duplex stream, timing out if necessary. On success, Ok(Guard) is returned and access has been granted to the stream. If a
librustuv/src/timeout.rs:71
↓ 1 callersMethodgreen
(self, pool: &'a mut SchedPool)
libgreen/src/lib.rs:598
↓ 1 callersMethodhome
(&self)
librustuv/src/udp.rs:242
↓ 1 callersMethodhome
(&'r mut self)
librustuv/src/process.rs:228
↓ 1 callersMethodidle
Run the idle callback if one is registered
libgreen/src/basic.rs:89
↓ 1 callersMethodincrement
(&mut self)
libgreen/src/lib.rs:549
↓ 1 callersFunctioninitialize_call_frame
(regs: &mut Registers, fptr: InitFn, arg: uint, procedure: raw::Procedure, sp: *mut u
libgreen/src/context.rs:168
↓ 1 callersMethodio_stat
(&self)
librustuv/src/raw/fs.rs:53
↓ 1 callersFunctionlocal_id
()
librustuv/src/homing.rs:92
↓ 1 callersFunctionmax_cached_stacks
()
libgreen/src/stack.rs:146
↓ 1 callersMethodmaybe_yield
(mut self: Box<Scheduler>, cur: Box<GreenTask>)
libgreen/src/sched.rs:852
↓ 1 callersMethodmessage
(&mut self, message: Message)
libgreen/src/basic.rs:71
↓ 1 callersFunctionnew_sched_rng
()
libgreen/src/sched.rs:986
↓ 1 callersMethodopen
(file: libc::c_int)
librustuv/src/pipe.rs:75
↓ 1 callersMethodopen
(path: &Path)
librustuv/src/fs.rs:31
↓ 1 callersMethodopen
(file: libc::c_int)
librustuv/src/tcp.rs:78
↓ 1 callersMethodpausable_idle_callback
FIXME: Seems like a really weird requirement to have an event loop provide.
libgreen/src/basic.rs:135
↓ 1 callersMethodpeer_name
(&mut self)
librustuv/src/tcp.rs:170
↓ 1 callersMethodpipe_connect
(&mut self, handle: Pipe, name: &CString,
librustuv/src/raw/connect.rs:24
↓ 1 callersFunctionpool
()
libgreen/src/basic.rs:210
↓ 1 callersMethodpop
(&self)
libgreen/src/message_queue.rs:40
↓ 1 callersFunctionprotect_last_page
(stack: &MemoryMap)
libgreen/src/stack.rs:95
↓ 1 callersFunctionqueue
()
libgreen/src/message_queue.rs:23
↓ 1 callersMethodqueue
(&mut self)
librustuv/src/queue.rs:123
↓ 1 callersMethodraw
Gain access to the underlying raw tty object. This function is unsafe as there is no guarantee that any safe modifications to the tty handle are actu
librustuv/src/tty.rs:93
↓ 1 callersMethodraw
Gain access to the underlying raw pipe object. This function is unsafe as there is no guarantee that any safe modifications to the pipe handle are ac
librustuv/src/pipe.rs:115
↓ 1 callersMethodraw
Gain access to the underlying raw tcp object. This function is unsafe as there is no guarantee that any safe modifications to the tcp handle are actu
librustuv/src/tcp.rs:116
↓ 1 callersMethodraw
(&self)
librustuv/src/raw/connect.rs:59
↓ 1 callersMethodread
(&mut self, buf: &mut [u8])
librustuv/src/tty.rs:101
↓ 1 callersMethodread
(&mut self, into: &mut [u8])
librustuv/src/pipe.rs:197
↓ 1 callersMethodread
(&mut self, into: &mut [u8])
librustuv/src/fs.rs:162
↓ 1 callersMethodread
(&mut self, into: &mut [u8])
librustuv/src/tcp.rs:202
↓ 1 callersMethodread_start
(&mut self, alloc_cb: uvll::uv_alloc_cb, read_cb: uvll::uv_read_cb)
librustuv/src/raw/mod.rs:175
↓ 1 callersMethodrecv_start
(&mut self, alloc: uvll::uv_alloc_cb, recv: uvll::uv_udp_recv_cb)
librustuv/src/raw/udp.rs:111
↓ 1 callersMethodrecycle
Destroy coroutine and try to reuse std::stack segment.
libgreen/src/coroutine.rs:40
↓ 1 callersMethodremote_callback
(&mut self, f: Box<Callback + Send>)
libgreen/src/basic.rs:144
↓ 1 callersMethodremote_work
(&mut self)
libgreen/src/basic.rs:62
↓ 1 callersFunctionrun
Execute the main function in a pool of M:N schedulers. Configures the runtime according to the environment, by default using a task scheduler with th
libgreen/src/lib.rs:316
↓ 1 callersMethodrun
(&mut self)
librustuv/src/event_loop.rs:97
↓ 1 callersMethodrun
(&mut self, mode: uvll::uv_run_mode)
librustuv/src/raw/loop_.rs:41
↓ 1 callersMethodrun_sched_once
This function is run from the idle callback on the uv loop, indicating that there are no I/O events pending. When this function returns, we will fall
libgreen/src/sched.rs:278
↓ 1 callersMethodsend
(&self, task: BlockedTask)
librustuv/src/homing.rs:59
↓ 1 callersMethodsend_to_friend
Take a non-homed task we aren't allowed to run here and send it to the designated friend scheduler to execute.
libgreen/src/sched.rs:567
↓ 1 callersMethodset_broadcast
(&mut self, on: bool)
librustuv/src/raw/udp.rs:82
↓ 1 callersMethodset_mode
(&mut self, raw: bool)
librustuv/src/raw/tty.rs:43
↓ 1 callersMethodset_multicast_loop
(&mut self, on: bool)
librustuv/src/raw/udp.rs:66
↓ 1 callersMethodset_multicast_ttl
(&mut self, ttl: int)
librustuv/src/raw/udp.rs:74
↓ 1 callersFunctionset_stdio
(dst: *mut uvll::uv_stdio_container_t, io: &rtio::StdioContainer, io_l
librustuv/src/process.rs:147
↓ 1 callersMethodset_timeout
(&mut self, dur: Option<Duration>)
librustuv/src/pipe.rs:315
↓ 1 callersMethodset_ttl
(&mut self, ttl: int)
librustuv/src/raw/udp.rs:90
↓ 1 callersFunctionspawn_opts
See documentation for `spawn`.
libgreen/src/task.rs:94
↓ 1 callersMethodswitch_running_tasks_and_then
(self: Box<Scheduler>, cur: Box<GreenTask>,
libgreen/src/sched.rs:749
↓ 1 callersMethodtcp_connect
(&mut self, handle: Tcp, addr: ip::SocketAddr,
librustuv/src/raw/connect.rs:36
↓ 1 callersMethodterminate
(mut self: Box<GreenTask>)
libgreen/src/task.rs:341
↓ 1 callersMethodterminate_current_task
Called by a running task to end execution, after which it will be recycled by the scheduler for reuse in a new task.
libgreen/src/sched.rs:801
↓ 1 callersMethodtimed_out
(&self)
librustuv/src/timeout.rs:102
↓ 1 callersMethodto_fn
(self)
libgreen/src/sched.rs:975
↓ 1 callersMethoduv_handle
(&self)
librustuv/src/process.rs:232
↓ 1 callersMethoduv_loop
Gain access to the underlying event loop. This method is unsafe as there is no guarantee that further safe methods called on the `Loop` will be valid
librustuv/src/event_loop.rs:82
↓ 1 callersMethoduv_read
(&mut self, buf: &mut [u8])
librustuv/src/tty.rs:64
↓ 1 callersMethoduv_read
(&mut self, buf: &mut [u8])
librustuv/src/pipe.rs:117
↓ 1 callersMethoduv_read
(&mut self, buf: &mut [u8])
librustuv/src/tcp.rs:118
↓ 1 callersMethoduv_ref
(&self)
librustuv/src/raw/mod.rs:115
← previousnext →101–200 of 573, ranked by callers