comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » SHMMAP and IDL_IDLBridge
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: SHMMAP and IDL_IDLBridge [message #63153 is a reply to message #63082] Tue, 28 October 2008 20:17 Go to previous message
Robbie is currently offline  Robbie
Messages: 165
Registered: February 2006
Senior Member
You should be able to map a structure using SHMMAP, however, there are
a number of limitations which make it nearly useless:

1) You cannot have pointers or objects in your structure. This makes
sending variable size datasets very difficult
2) You cannot use strings. Instead you must create a fixed width
bytarr() and cast it to and from a string.

An alternative solution is to use CMSVLIB written by Craig Markwardt
http://www.physics.wisc.edu/~craigm/idl/
Using this package you should be able to convert any combination of
IDL variables into a bytarr() which can then be copied to shared
memory. This might be notably slower than the above solution but it is
more flexible.

Personally, I have taken a backwards step from using SHMMAP. If I
really need threads, then I choose a language which supports them.

Regards,

Robbie
[Message index]
 
Read Message
Read Message
Previous Topic: DLM unload
Next Topic: Re: About warp image on ENVI's pts file

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:57:10 PDT 2025

Total time taken to generate the page: 0.00478 seconds