[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #47820] Uncomprehesive behaviors for functions
From: |
Tatsuro MATSUOKA |
Subject: |
[Octave-bug-tracker] [bug #47820] Uncomprehesive behaviors for functions that are not recognized in configure |
Date: |
Mon, 02 May 2016 03:13:27 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36 |
URL:
<http://savannah.gnu.org/bugs/?47820>
Summary: Uncomprehesive behaviors for functions that are not
recognized in configure
Project: GNU Octave
Submitted by: tmacchant
Submitted on: 2016年05月02日 03時13分26秒
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Feature Request
Status: None
Assigned to: None
Originator Name: Tatsuro MATSUOKA
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.0.2
Operating System: Any
_______________________________________________________
Details:
This is discussed in the thread:
http://octave.1599824.n4.nabble.com/fork-for-microsoft-windows-native-but-not-Cygwin-td4676646.html
However, I noticed that the feature are neither specific to fork nor specific
to the platform.
The some functions implemented in syscalls.cc and oct-syscalls.cc apparently
work but not in reality it failed to recognized in configure process.
Current example fork on windows.
>> fork()
ans = -1
>> help fork
'fork' is a built-in function from the file libinterp/corefcn/syscalls.cc
-- Built-in Function: [PID, MSG] = fork ()
Create a copy of the current process.
Fork can return one of the following values:
> 0
You are in the parent process. The value returned from 'fork'
is the process id of the child process. You should probably
arrange to wait for any child processes to exit.
0
You are in the child process. You can call 'exec' to start
another process. If that fails, you should probably call
'exit'.
< 0
The call to 'fork' failed for some reason. You must take
evasive action. A system dependent error message will be
waiting in MSG.
Additional help for built-in functions and operators is
available in the online version of the manual. Use the command
'doc <topic>' to search the manual index.
Help and information about Octave is also available on the WWW
at http://www.octave.org and via the address@hidden
mailing list.
octave.org and via the address@hidden
mailing list.
>> [a,b]=fork()
a = -1
b = fork: not supported on this system
Of course,
>> fork() returns -1 indicates for fork() does not work
correctly and suggest to execute fork() as two variables return
function.
The "help fork" does not refer to "not supported".
This is a feature request rather than a bug report.
But I hope that octave behaviors are kind enough for those who are not octave
experts.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47820>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #47820] Uncomprehesive behaviors for functions that are not recognized in configure,
Tatsuro MATSUOKA <=
- [Octave-bug-tracker] [bug #47820] Uncomprehesive behaviors for functions that are not recognized in configure, Lachlan Andrew, 2016/05/01
- [Octave-bug-tracker] [bug #47820] Uncomprehesive behaviors for functions that are not recognized in configure, Tatsuro MATSUOKA, 2016/05/02
- [Octave-bug-tracker] [bug #47820] Uncomprehesive behaviors for functions that are not recognized in configure, Lachlan Andrew, 2016/05/02
- [Octave-bug-tracker] [bug #47820] Uncomprehesive behaviors for functions that are not recognized in configure, Tatsuro MATSUOKA, 2016/05/02
- [Octave-bug-tracker] [bug #47820] Uncomprehesive behaviors for functions that are not recognized in configure, Tatsuro MATSUOKA, 2016/05/02
- [Octave-bug-tracker] [bug #47820] Uncomprehesive behaviors for functions that are not recognized in configure, Mike Miller, 2016/05/02
- [Octave-bug-tracker] [bug #47820] Uncomprehesive behaviors for functions that are not recognized in configure, Tatsuro MATSUOKA, 2016/05/02
- [Octave-bug-tracker] [bug #47820] Uncomprehesive behaviors for functions that are not recognized in configure, John W. Eaton, 2016/05/02
- [Octave-bug-tracker] [bug #47820] Uncomprehesive behaviors for functions that are not recognized in configure, Lachlan Andrew, 2016/05/02
- [Octave-bug-tracker] [bug #47820] Uncomprehesive behaviors for functions that are not recognized in configure, John W. Eaton, 2016/05/02