Re: help me.



thanks for your reply.
In fact, above source code is just like goto statement, when you want
to do something, your assign the "state" variable to some value. the
"exit" flag will be set
after certain state is reached or the "quit" signal reach. this method
is really bad. Not only the code is like a mess, but sometimes the
modification of share memory will lost. I think the better solution
will be some kind of message(signal etc) instead of poll sharememory.
but now I only have rights to modify the control panel. so what I can
do is make this block of source code more readable.

.



Relevant Pages

  • Re: Creating Custom Printer Banner Page in DCPS?
    ... > source code which I would hope is human readable) would not add a lot ... was to make it hard for people to customize their flag pages. ... Paul Anderson ...
    (comp.os.vms)
  • Re: Favorites Problem
    ... If you set that registry flag, I think it will just work for registry ... If you search the IESample folder for instances of "favorites" ... > or do I need to change my IE sample source code? ...
    (microsoft.public.windowsce.platbuilder)
  • Re: 4X4 matrix keypad-74c922- source code
    ... im trying to interface a 4x4 matrix keypad using a 74c922 decoder to an ... i would appreciate some pointers in how to create d source code that will ... happens at least twice during the component-selected debounce period. ... Don't read data while the flag is set. ...
    (sci.electronics.basics)
  • Re: help me.
    ... In fact, above source code is just like goto statement, when you want ... I assume one of the DoSomeX operations would set the exit flag. ...
    (comp.object)
  • Re: objdumped code correspond to C code
    ... We are using MIPS CPU and sometimes the program fails due to TLB ... The program is compiled with -g flag. ... method can tell me the EPC correspond to which line of C source code. ...
    (comp.os.linux.development.apps)