Mathematica > MathLink Mathematica Functions >

LinkReadyQ

Updated In 6 Graphic
LinkReadyQ[link]
tests whether there is an expression ready to read from the specified MathLink connection.
LinkReadyQ[link, t]
waits for up to t seconds to see if an expression becomes ready to read.
LinkReadyQ[{link1, link2, ...}, t]
tests all the linki in parallel, returning as soon as any of them are ready to read from.
  • LinkReadyQ[{link1, link2, ...}, t] returns a list of True and False, specifying which of the linki are ready to read from.
  • If LinkReadyQ[link] returns False, then LinkRead[link] will block, and will not return until something becomes available to read on link.
  • LinkReadyQ[link] tests whether there is any data to read; it cannot determine whether the data represents a complete expression.
New in 3 | Last modified in 6
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team