This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)

LinkReadyQ

LinkReadyQ[link]
tests whether there is an expression ready to read from the specified MathLink connection.
LinkReadyQ
waits for up to t seconds to see if an expression becomes ready to read.
LinkReadyQ
tests all the in parallel, returning as soon as any of them 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.
Launch a subsidiary Mathematica kernel process:
Test whether there is an expression ready to be read:
Read the expression:
Close the link:
Launch a subsidiary Mathematica kernel process:
In[1]:=
Click for copyable input
Out[1]=
Test whether there is an expression ready to be read:
In[2]:=
Click for copyable input
Out[2]=
Read the expression:
In[3]:=
Click for copyable input
Out[3]=
Close the link:
In[4]:=
Click for copyable input
New in 3 | Last modified in 6