RCS file: passing_data_to_threads.c,v Working file: passing_data_to_threads.c head: 1.9 branch: locks: strict root: 1.9 access list: symbolic names: keyword substitution: kv total revisions: 9; selected revisions: 9 description: Code to demonstrate how to pass data to threads. —————————- revision 1.9 locked … Continue reading
RCS file: simple_thread.c,v Working file: simple_thread.c head: 1.14 branch: locks: strict root: 1.14 access list: symbolic names: keyword substitution: kv total revisions: 14; selected revisions: 14 description: A simple thread program in which 2 threads are created and 2 separate … Continue reading
1 head 1.1; 2 access; 3 symbols; 4 locks 5 root:1.1; strict; 6 comment @ * @; 7 8 9 1.1 10 date 2013.12.31.10.09.33; author root; state Exp; 11 branches; 12 next ; 13 14 15 desc 16 @AF_INET server … Continue reading
Log file for server head 1.1; access; symbols; locks root:1.1; strict; comment @ * @; 1.1 date 2013.12.30.10.47.35; author root; state Exp; branches; next ; desc @source file for ftp server ————————————————————————————————————————————- log file for client head 1.1; access; symbols; … Continue reading
HEADER RCS head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2013.12.30.09.22.36; author raman; state Exp; branches; next ; desc @this is header file CLIENT RCS head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 … Continue reading
SERVER LOG FILE head 1.1; 2 access; 3 symbols; 4 locks 5 root:1.1; strict; 6 comment @ * @; 7 8 9 1.1 10 date 2013.12.29.10.12.34; author root; state Exp; 11 branches; 12 next ; 13 14 15 desc 16 … Continue reading
log file for server head 1.2; access; symbols; locks; strict; comment @ * @; 1.2 date 2013.12.29.09.42.09; author root; state Exp; branches; next 1.1; 1.1 date 2013.12.29.09.35.38; author root; state Exp; branches; next ; desc @main server file for socket … Continue reading
Log file for server head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2013.12.28.07.56.32; author emblogic; state Exp; branches; next ; desc @server with thread is created. data from client to thread . @ ———————————————————————- log file … Continue reading
Introduction To THREADS Threads, like processes are a mechanism to allow a program to do more than one thing at a time. In Linux when a process is created, it already contains a thread, used to execute the main() function. … Continue reading
Thread Progrmming Thread:Multiple strands of execution in a single program are called threads. A more precise definition is that athread is a sequence of control within a process.All processes have at least one thread of execution.When a process executes a … Continue reading
THREADS AND SOCKETS MECHANISMS INTRODUCTION OF THREADS: Multiple strands of execution in a single program are called threads. All processes have at least one thread. All threads in a program execute simultaneously and perform their function individually. Threads are the … Continue reading
Can we manually switch between two Threads of a process ?? Means, is it possible to context out a running thread and context in a user desired thread, at any time????
Implemented project 4 using thread successfully. run successfully 1021 clients at a time. in this project i have used one fifo for requesting and one fifo for final result in between clients and server. on other side i used messgae … Continue reading
Implemented the project using detached threads .. Serving 1021 clients.
RCS file: server.c,v Working file: server.c head: 1.1 branch: locks: strict user1: 1.1 access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: This is client-server based implementation of multiple threads. It is implemented using msgqueues … Continue reading