Skip to content

Commit a34af76

Browse files
committed
---
yaml --- r: 15682 b: refs/heads/try c: 577b888 h: refs/heads/master v: v3
1 parent 79833a5 commit a34af76

File tree

5 files changed

+1
-19
lines changed

5 files changed

+1
-19
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: 474e7e5e0d863d803ce20063069130a3c2e1f208
5+
refs/heads/try: 577b888e4b87437a37903abb5b70b113a9df059d
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/src/rt/rust_kernel.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ rust_kernel::rust_kernel(rust_env *env) :
2727
// set up storage of pointers needed to
2828
// access the global loop.
2929
global_loop_chan = 0;
30-
async_handle_inner = (uintptr_t)0;
31-
global_async_handle = &async_handle_inner;
32-
*global_async_handle = (uintptr_t)0;
3330

3431
// Create the single threaded scheduler that will run on the platform's
3532
// main thread

branches/try/src/rt/rust_kernel.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ class rust_kernel {
7575

7676
// Used to communicate with the process-side, global libuv loop
7777
uintptr_t global_loop_chan;
78-
uintptr_t async_handle_inner;
79-
uintptr_t* global_async_handle;
8078

8179
public:
8280
struct rust_env *env;
@@ -124,7 +122,6 @@ class rust_kernel {
124122
bool send_to_port(rust_port_id chan, void *sptr);
125123

126124
uintptr_t* get_global_loop() { return &global_loop_chan; }
127-
uintptr_t* get_global_async_handle() { return global_async_handle; }
128125
};
129126

130127
template <typename T> struct kernel_owned {

branches/try/src/rt/rust_uv.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -450,13 +450,3 @@ rust_uv_get_kernel_global_chan_ptr() {
450450
LOG(task, stdlib,"global loop val: %lu", (unsigned long int)*result);
451451
return result;
452452
}
453-
454-
extern "C" uintptr_t*
455-
rust_uv_get_kernel_monitor_global_chan_ptr() {
456-
return rust_uv_get_kernel_global_chan_ptr();
457-
}
458-
459-
extern "C" uintptr_t*
460-
rust_uv_get_kernel_global_async_handle() {
461-
return rust_get_current_task()->kernel->get_global_async_handle();
462-
}

branches/try/src/rt/rustrt.def.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,6 @@ rust_uv_set_data_for_req
139139
rust_uv_get_base_from_buf
140140
rust_uv_get_len_from_buf
141141
rust_uv_get_kernel_global_chan_ptr
142-
rust_uv_get_kernel_monitor_global_chan_ptr
143-
rust_uv_get_kernel_global_async_handle
144142
rust_dbg_lock_create
145143
rust_dbg_lock_destroy
146144
rust_dbg_lock_lock

0 commit comments

Comments
 (0)