• Home
  • Blog
  • Word frequency from textfile (C programming with pthreads)

Word frequency from textfile (C programming with pthreads)

0 comments

program must compile and run on general.asu.edu, a Linux machine.

You may not use any libraries, packages, or repositories without prior permission!!!

You are required to write one program that implements word frequency count of a text file using the MapReduce framework, with the master using pthreads to create and synchronize the worker threads using semaphores.

I have provided my work so far if you’d like to use and continue on my code.

What I have done is implement the equal split function and the skewed split function but the skewed split is not functioning correctly. I haven’t done it using the map which is required. The feedback I’ve gotten for part 1 of the assignment is “No implementation of the map phase. Skewed split generates too many split-*.txt files.”


Further details is in the zipfile.

About the Author

Follow me


{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}