Re: Baffling .NET Threading issue.

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Don't know if this helps since I'm somewhat new to threading but
you might want to try to put:

Thread.Sleep(0)

after the Start statement. I read somewhere that the thread can't
start until the current thread yields, either by a Sleep or an
End Sub. Most of the examples I've seen just happen to do the
Start as the last instruction in a subroutine, but if you have a long
unyielding process after the Start statement your new thread may
appear not to start.
.



Relevant Pages

  • Re: no-op function pointer
    ... subroutine is just as fast as any other branch. ... using an "execute" instruction that executes an instruction stored ... own CPU cycle anyway, and with a two-instructions-per-cycle CPU, ...
    (comp.lang.c)
  • Re: CREATE
    ... into CREATE unnecessarily restricts certain implementation techniques. ... subroutine call instructions, e.g. the Intel 8080 RST, or the RCA 1802 ... compiled with the more general subroutine call instruction that could ... The only difference being that, at compile time, VARIABLE ...
    (comp.lang.forth)
  • Re: Hi
    ... subroutine return instruction on an ARM1/2/3 - even in compiled code. ... flags preserved). ...
    (comp.sys.arm)
  • Re: Re (2): nibz/wiki/InstructionSet ?
    ... In the context of stack-machine-architecture, ... memory indexed by S and 'and' it with A. ... So, '16 basic instructions' and the BO instruction, ... Adding a offset plus carry to a subroutine ...
    (comp.lang.forth)
  • Re: [9fans] Non-stack-based calling conventions
    ... Early Control Data machines, like many machines ... This meant that you put he parameters in the instruction ... locations just past the call to the subroutine. ... the first word of the routine. ...
    (comp.os.plan9)