summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
AgeCommit message (Expand)AuthorLines
2012-09-19core: Allocate threads on demand, not on scheduler startupPhilipp Brüschweiler-5/+7
2012-07-20[4/4 for #2365, #2671] Reassign one last fixme to #908. Close #2365. Close #2...Ben Blum-1/+1
2012-07-20[3/4 for #2365, #2671] Fix exit/kill race with scheds during rust_kernel::failBen Blum-8/+7
2012-07-20[1/4 for #2365, #2671] Fix create/kill race with schedulers and tasks during ...Ben Blum-4/+8
2012-07-13Add asserts to check fail_sched_loop() only onceBen Blum-1/+1
2012-06-28Cleanup failure handling around rust_new_task_in_sched - closes #2668Ben Blum-1/+3
2012-06-21Tag all remaining FIXMEs with bugs. Install rule in tidy script to enforce this.Graydon Hoare-12/+11
2012-06-21Comments only: annotate FIXMEsTim Chevalier-1/+1
2012-06-13Add a malloc_dyn upcall for dynamically sized allocations on the shared heap.Michael Sullivan-0/+5
2012-05-07rt: Start tasks, ports and scheds at 1, assert when we see 0. Closes #2321Brian Anderson-3/+5
2012-04-30core: Serialize all access to the environment using a weak global taskBrian Anderson-3/+3
2012-04-27rt: remove unneccesary c++ functions and rust_kernel data, re: global loopJeff Olson-3/+0
2012-04-20replace impl of globa_async_handle with one using atomic compare-and-swapJeff Olson-4/+3
2012-04-20don't use ::malloc for initializing the global_async_handle in rust_kernelJeff Olson-2/+3
2012-04-20clean and trying the global loop test as two separate loop lifetimes..Jeff Olson-2/+2
2012-04-20add needed fields for global libuv loop + bindings to manage from rustJeff Olson-0/+7
2012-04-20rt: Delete some incorrect commentsBrian Anderson-3/+0
2012-04-20rt: Take the weak_task_lock in end_weak_tasksBrian Anderson-1/+1
2012-04-07core: Add priv::weaken_taskBrian Anderson-1/+80
2012-04-03Merge remote-tracking branch 'brson/mainthread'Brian Anderson-9/+47
2012-04-03rt: Fix bugs in the osmain schedulerBrian Anderson-6/+11
2012-04-03rt: Fix bugs in the osmain schedulerBrian Anderson-1/+13
2012-04-03rt: Futz with headers to satisfy FreeBSDBrian Anderson-2/+0
2012-04-03fix 'I don't know how C works'Jon Morton-1/+2
2012-04-03Refactor includes structure, getting rid of rust_internal.hJon Morton-1/+4
2012-04-02rt: Run a single-threaded scheduler on the main threadBrian Anderson-9/+30
2012-04-02rt: cleanup passing around of rust_envJon Morton-1/+1
2012-04-01remove rust_srvJon Morton-6/+5
2012-04-01replace assertion macros with plain assertsJon Morton-6/+6
2012-04-01rt: Allow some schedulers to stay alive even without tasks to executeBrian Anderson-1/+1
2012-04-01Merge remote-tracking branch 'brson/mainthread'Brian Anderson-5/+18
2012-03-31rt: Fix whitespaceBrian Anderson-1/+2
2012-03-31rt: Introduce rust_sched_reaperBrian Anderson-5/+18
2012-03-28Tidy up multiple declarations and STDC_FOO_MACROS guards in headers.Graydon Hoare-5/+0
2012-03-28Fix some gcc-4.4-isms, should build now on 4.1+.Graydon Hoare-1/+2
2012-03-18rt: Remove lock_held_by_current_threadBrian Anderson-4/+0
2012-03-15rt: Remove the kernel task tableBrian Anderson-45/+5
2012-03-15rt: Look up ports through a single port tableBrian Anderson-0/+41
2012-03-01rt: Remove rust_kernel::live_tasks. UnusedBrian Anderson-3/+2
2012-02-27rt: Change the way the kernel exits to avoid pthread leaksBrian Anderson-17/+27
2012-02-09rt: Make rust_task::ref_count privateBrian Anderson-0/+1
2012-02-09rt: Remove rust_task_user structBrian Anderson-4/+4
2012-02-09fix build on freebsdJyun-Yan You-0/+5
2012-02-08rt: Export a scheduler APIBrian Anderson-2/+3
2012-02-08rt: Hold schedulers in a mapBrian Anderson-7/+52
2012-02-08rt: Change the lifecycle of tasks and schedulers for various reasonsBrian Anderson-5/+0
2012-02-08rt: Start schedulers immediately upon creationBrian Anderson-8/+6
2012-02-08rt: Refactor the rust_kernel interface a bitBrian Anderson-18/+26
2012-02-08rt: Introduce scheduler idsBrian Anderson-1/+1
2012-02-08rt: Delete schedulers immediately upon releaseBrian Anderson-4/+1