aboutsummaryrefslogtreecommitdiff
path: root/pdoctave_dataframe.c
diff options
context:
space:
mode:
authorFranz Zotter <fzotter@users.sourceforge.net>2006-03-26 12:47:03 +0000
committerFranz Zotter <fzotter@users.sourceforge.net>2006-03-26 12:47:03 +0000
commit4998870e6829a2a3818ae87557f81f220442a6b0 (patch)
tree2ff79d57392e5703e3a6d7a61627a2d3282a9fcc /pdoctave_dataframe.c
parent6b079b5df20a90500294e2f1a58912b32074cd82 (diff)
added octave error handling 'try' and 'catch' to pdoctave_get. So unknown variables are returned now as empty
svn path=/trunk/externals/iem/pdoctave/; revision=4770
Diffstat (limited to 'pdoctave_dataframe.c')
-rw-r--r--pdoctave_dataframe.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pdoctave_dataframe.c b/pdoctave_dataframe.c
index 1ff6f09..a5d64a6 100644
--- a/pdoctave_dataframe.c
+++ b/pdoctave_dataframe.c
@@ -207,7 +207,7 @@ void blockForWriting (SharedDataFrame *sdf)
int sleepUntilReadUnBlocked (SharedDataFrame *sdf)
{
- alarm(MAX_SLEEP_TIME);
+ //alarm(MAX_SLEEP_TIME);
while ((sdf->block_for_read!=0)&&scheduling_ok)
sched_yield();
return scheduling_ok;
@@ -215,7 +215,7 @@ int sleepUntilReadUnBlocked (SharedDataFrame *sdf)
int sleepUntilReadBlocked (SharedDataFrame *sdf)
{
- alarm(MAX_SLEEP_TIME);
+ //alarm(MAX_SLEEP_TIME);
while ((sdf->block_for_read==0)&&scheduling_ok)
sched_yield();
return scheduling_ok;
@@ -223,14 +223,14 @@ int sleepUntilReadBlocked (SharedDataFrame *sdf)
int sleepUntilWriteUnBlocked (SharedDataFrame *sdf)
{
- alarm(MAX_SLEEP_TIME);
+ //alarm(MAX_SLEEP_TIME);
while ((sdf->block_for_write!=0)&&scheduling_ok)
sched_yield();
return scheduling_ok;
}
int sleepUntilWriteBlocked (SharedDataFrame *sdf)
{
- alarm(MAX_SLEEP_TIME);
+ //alarm(MAX_SLEEP_TIME);
while ((sdf->block_for_write==0)&&scheduling_ok)
sched_yield();
return scheduling_ok;