mergesort=========Academic example of merge sort implementation in C.Implementation includes one process version and parallelimplementation using limited fork()s and example pythonbindings using ctypes.Contents========
* ms.h, ms.c - merge sort implementation* main.c - sample test of using merge sort implementation with time measurement* pyms.py - sample python bindings using ctypes* test.py - sample test of using pyms
Compile shared library with.. code:: bash cc -c -Wall -Werror -fpic ms.c cc -shared -o libms.so ms.oand sample C program (set LD_LIBRARY_PATH before running it).. code:: bash cc -Wall -o test ms.c main.c