Refactor includes structure, getting rid of rust_internal.h

Many changes to code structure are included:
- removed TIME_SLICE_IN_MS
- removed sychronized_indexed_list
- removed region_owned
- kernel_owned move to kernel.h, task_owned moved to task.h
- global configs moved to rust_globals.h
- changed #pragma once to standard guard in rust_upcall.h
- got rid of memory.h
This commit is contained in:
Jon Morton
2012-04-02 22:18:01 -05:00
committed by Brian Anderson
parent 704ca046a1
commit 632a4c9326
54 changed files with 311 additions and 412 deletions

View File

@@ -1,16 +1,15 @@
#include "rust_internal.h"
#include "rust_cc.h"
#ifndef __WIN32__
#include <execinfo.h>
#endif
#include <iostream>
#include <cassert>
#include <cstring>
#include <algorithm>
#include "rust_task.h"
#include "rust_cc.h"
#include "rust_upcall.h"
#include "rust_env.h"
#include "rust_port.h"
// Tasks
rust_task::rust_task(rust_sched_loop *sched_loop, rust_task_state state,