003 Linux System ProgrammingIssues, queries and suggestions related to Linux, Linux Programming, IPC, Interprocess Communication, Synchronization, Semaphore, System Programming, Linux Software Development. » 003.11.POSIX-Threads
pthread_create() is frequently used in situations where task is divided into smaller units that run in parallel,such as multi-thread applications like web server where multiple clients request need to be handled concurrently.
some use cases where pthread_create() is used are:
1)I/O and computation overlap:In case where program perform I/O ,thread can be used to overlap I/O with computation.
2)REAL TIME APPLICATIONS:
Real time app,that required quick response enable creation of thread that can executes critical function while main thread handles background task.