CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Intermediate:
Thread does not update global variable


New User

Sep 30, 2007, 1:34 PM

Post #1 of 1 (597 views)
Thread does not update global variable Can't Post

Hello all,

I am trying to write a client/server chat unix program.
I have 2 threads 1 for user input and 1 for socket com.

The problem is the thread that grabs user input has a
while (1) {} not to exit ...

The problem is this sub does not update global variables. So I need a routine that never exits but updates the current cursor position ... you see I don't want when a user being at the middle of his message ... and a new one arrives to have his cursor initialized by redrawing the terminal with the new buffer.

Thanks a lot Cool


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives