crossroads

Git mirror of https://crossroads.e-tunity.com/
git clone git://git.finwo.net/app/crossroads
Log | Files | Refs

shmkey.yo (852B)


      1 conf(shmkey - Shared Memory Access)
      2     (Different Crossroads
      3      invocations must 'know' of each others activity. E.g, tt(crossroad
      4      status) must be able to get to the actual state information of all
      5      running services. This is internally implemented through shared
      6      memory, which is reserved using a key.
      7 
      8      Normally crossroads will supply a shared memory key, based on the
      9      service port and bitwise or-ed with a magic number. In situations
     10      where this conflicts with existing keys (of other programs, having
     11      their own keys), you may supply a chosen value.
     12 
     13      The actual key value doesn't matter much, as long as it's unique
     14      and as long as each invocation of crossroads uses it.)
     15     (tt(shmkey) em(number))
     16     (0, which means that crossroads will 'guess' its
     17      own key, based on TCP port and a magic number.)