To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 2728
    whats up with lnp_init? —Kenneth Johansen
   i have 2 threads (pthreads), 1 that sends and 1 that recieves on my PC. both of these runs in while(1) sentences. so.. i thought lnp_init was to be run only once, but unless i run the lnp_init routine each time i want to send a message nothing get (...) (22 years ago, 14-Jul-02, to lugnet.robotics.rcx.legos)
   
        Re: whats up with lnp_init? —Albert Huang
      "kenneth johansen" <kennethj@stud.cs.uit.no> wrote in message news:3D31CF01.37F981....uit.no... (...) Kenneth, I'm not sure if I remember correctly, but lnpd as it is right now might not fare so well with reentrant code (i.e. pthreads) because the (...) (22 years ago, 15-Jul-02, to lugnet.robotics.rcx.legos)
   
        Re: whats up with lnp_init? —Mark Falco
   (...) I ran into this when using the LNP library to emulate LNP in the RCX as part of emuLegOS (URL) emuLegOS contains a thread safe wrapper for the LNP library. It should be fairly simple to extract that code into your own library for use in non (...) (22 years ago, 15-Jul-02, to lugnet.robotics.rcx.legos)
 

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR