RCS file: ./threads.c,v
Working file: ./threads.c
head: 1.7
branch:
locks: strict
root: 1.7
access list:
symbolic names:
keyword substitution: kv
total revisions: 7; selected revisions: 7
description:
included all the header files that will be used in the code
—————————-
revision 1.7 locked by: root;
date: 2014/11/23 17:42:53; author: root; state: Exp; lines: +1 -1
joined the thread in the main function
destroyed the semaphore
printed exit success
—————————-
revision 1.6
date: 2014/11/23 17:42:12; author: root; state: Exp; lines: +1 -1
called the pthread_exit function the the thread
—————————-
revision 1.5
date: 2014/11/23 17:40:57; author: root; state: Exp; lines: +1 -1
opened a text file in write only mode
wrote the input in the text file that was given as an input from tne user
—————————-
revision 1.4
date: 2014/11/23 17:39:25; author: root; state: Exp; lines: +1 -1
created a thread function after defining it
putting the semaphore in wait condition
—————————-
revision 1.3
date: 2014/11/23 17:37:37; author: root; state: Exp; lines: +1 -1
putting semaphore in wait condition
taking a string input from user(if “end”,then terminate)
increased the semaphore
—————————-
revision 1.2
date: 2014/11/23 17:35:59; author: root; state: Exp; lines: +1 -1
initialised the semaphore
created a thread
—————————-
revision 1.1
date: 2014/11/23 17:35:33; author: root; state: Exp;
Initial revision