Skip to main content

Timeline for Multi-threaded server

Current License: CC BY-SA 3.0

10 events
when toggle format what by license comment
Mar 27, 2013 at 23:11 review First posts
Mar 28, 2013 at 0:07
Mar 22, 2013 at 17:27 comment added Loki Astari Are you doing a busy loop reading? Have you checked out select() or poll() or epoll() to wait for events on a socket.
Mar 22, 2013 at 12:50 answer added user53019 timeline score: 1
Mar 22, 2013 at 12:43 comment added user53019 Would you provide more details surrounding your problem? I'm assuming this is one application, not two, right? Are you using semaphores / mutexes / any other signaling mechanism? What does the general structure of your send and receive loops look like?
Mar 22, 2013 at 12:42 comment added sdg Homework? Or why are you writing a server from scratch without background? In either case, more details required to provide useful answers; e.g. how does control get "stuck"?
Mar 22, 2013 at 12:26 comment added Pankaj Sejwal sorry I didn't see your tags ..I was thinking in Java..you must be using pthreads...no idea!
Mar 22, 2013 at 12:21 comment added user3032010 But these are used incase we use shared memory
Mar 22, 2013 at 12:17 history edited Martin Wickman CC BY-SA 3.0
Syntax
Mar 22, 2013 at 12:17 comment added Pankaj Sejwal did u try using lock() and later unlock() after some fixed time so that other thread gets control of the lock?
Mar 22, 2013 at 12:12 history asked user3032010 CC BY-SA 3.0