Skip to content

Read-Write lock in AVL tree (iterative & recursive) for insert, delete, update operations and traversals, Read-Write lock with fair odering (random selection from queue), File/Directory finder

Notifications You must be signed in to change notification settings

sau-rav/OS_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OS Assignment

  1. Read-Write lock in AVL tree (iterative & recursive)

    • g++ avlIterative.cpp -o avli -std=c++11

    • ./avli

    • g++ avlRecursive.cpp -o avlr -std=c++11

    • ./avlr

  2. Read-Write lock with fair odering (random selection from queue)

    • g++ readWrite.cpp -o rw -std=c++11
    • prints list of reader and writers in operation
  3. File/Directory finder

    • g++ find.cpp -o find -std=c++11

    • ./find <file_name/directory_name>

    • prints all the files/directories of the specified name present anywhere under the current directory and specifies if its a file or a directory

About

Read-Write lock in AVL tree (iterative & recursive) for insert, delete, update operations and traversals, Read-Write lock with fair odering (random selection from queue), File/Directory finder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages