rt: Remove rust_alarm dead code
This commit is contained in:
parent
c11f8a468b
commit
0fedea39ce
1
mk/rt.mk
1
mk/rt.mk
|
@ -9,7 +9,6 @@ RUNTIME_CS := rt/sync/timer.cpp \
|
|||
rt/rust_builtin.cpp \
|
||||
rt/rust_run_program.cpp \
|
||||
rt/rust_crate_cache.cpp \
|
||||
rt/rust_comm.cpp \
|
||||
rt/rust_env.cpp \
|
||||
rt/rust_scheduler.cpp \
|
||||
rt/rust_task.cpp \
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
|
||||
#include "rust_internal.h"
|
||||
|
||||
template class ptr_vec<rust_alarm>;
|
||||
|
||||
rust_alarm::rust_alarm(rust_task *receiver) :
|
||||
receiver(receiver)
|
||||
{
|
||||
}
|
||||
|
||||
//
|
||||
// Local Variables:
|
||||
// mode: C++
|
||||
// fill-column: 78;
|
||||
// indent-tabs-mode: nil
|
||||
// c-basic-offset: 4
|
||||
// buffer-file-coding-system: utf-8-unix
|
||||
// compile-command: "make -k -C $RBUILD 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
|
||||
// End:
|
||||
//
|
|
@ -290,22 +290,6 @@ struct type_desc {
|
|||
const type_desc *descs[];
|
||||
};
|
||||
|
||||
// An alarm can be put into a wait queue and the task will be notified
|
||||
// when the wait queue is flushed.
|
||||
|
||||
struct
|
||||
rust_alarm
|
||||
{
|
||||
rust_task *receiver;
|
||||
size_t idx;
|
||||
|
||||
rust_alarm(rust_task *receiver);
|
||||
};
|
||||
|
||||
|
||||
typedef ptr_vec<rust_alarm> rust_wait_queue;
|
||||
|
||||
|
||||
#include "circular_buffer.h"
|
||||
#include "rust_task.h"
|
||||
#include "rust_chan.h"
|
||||
|
|
Loading…
Reference in New Issue