-
Notifications
You must be signed in to change notification settings - Fork 1
Scheduling Synchronization Component
License
argos-research/genode-Synchronization
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Directory structure =================== gehello - Genode component for testing kernel mechanism synch_rq - The user level component, should be extended and integrated src - Client-server code ----------------------------------------------------------------------- gehello ======= How to? 1. Get the Genode (Synchronization-GC) and prepare the build folder using foc(Synchronization-GC) 2. Get the gehello folder and place it in repos folder and add it to the etc/build.conf file 3. Run it using make run/gehello 4. This should create 5 threads(Mythreads) and add them to the repository Synch_rq ========= This component uses the RQ manager shared memory, data structure(Created by Paul) inorder to access the next thread to be executed. The outline of the code is in place. It should be extended to work with the kernel module, instructions are given in the main.cc file Once the Shared array has a thread to be executed, this component accesses the thread and adds that in to the corresponding ready queue of the Processor. The access control is synchronized with mutual exclusion between the components. Flow: 1. Get the number of ready queues available from Genode 2. Loop over the ready queues 3. Try to access the lock. 4. If the locking is successfull, check the dataspace for threads to be executed and schedule(should be implemented) 5. If the locking is unsuccessfull, goto the next ready queue and repeat the steps 6. Update the dataspace with the corresponding values
About
Scheduling Synchronization Component
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published