<URL:
https://rt.cpan.org/Ticket/Display.html?id=88097 >
Show quoted text>
>
> > Thanks cool, I changed the time to 0 and it works fine now.
>
> Great! Though, you may want to check how frequently ping requests are
> sent now...
>
>
I'll check but I think that hasn't changed. 0 seems to be the best for GUI,
I can call handleMessages a couple of times per second when idle and using
a timer without blocking the UI at all. So far that works very well. If you
are making an update, you could make the timeout configurable. In its
current form the module only seems to be usable in a very specific way.
Show quoted text>
> Clear as day, thanks for reporting back on this. I assume you mean
> IBAPI.cxx:processMessages() line 143 here?
>
>
Exactly so it should be:
errno=0;
int ret = select( m_pClient->fd() + 1,
&readSet, &writeSet, &errorSet, &tval );
Show quoted textAh ok, I didn't get segfaults so I think that problem is of the past.
Perhaps this check isn't so important anymore if you put the requirements
in the README.
Show quoted text>
> Don't suppose you could paste your 'perl -V', 'uname -a', and other
> toolchain and XCode versions, and OS-X version in here (masking any private
> information)?
>
>
I don't think that is a problem. It's at the bottom of this mail.
Show quoted text> HTH, and hope everything works well for you now!
>
So far it works great! I'm really happy about this module. Thanks a lot for
making it and responding so fast.
Everything is up to date to the latest versions.
$ perl -V
Summary of my perl5 (revision 5 version 12 subversion 4) configuration:
Platform:
osname=darwin, osvers=12.0, archname=darwin-thread-multi-2level
uname='darwin b1026.apple.com 12.0 darwin kernel version 12.0.0: tue
may 15 23:31:29 pdt 2012; root:xnu-2050.6.70~1release_x86_64 x86_64 '
config_args='-ds -e -Dprefix=/usr -Dccflags=-g -pipe -Dldflags=
-Dman3ext=3pm -Duseithreads -Duseshrplib -Dinc_version_list=none -Dcc=clang'
hint=recommended, useposix=true, d_sigaction=define
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='clang', ccflags ='-arch i386 -arch x86_64 -g -pipe -fno-common
-DPERL_DARWIN -fno-strict-aliasing -fstack-protector -I/usr/local/include',
optimize='-Os',
cppflags='-g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing
-fstack-protector -I/usr/local/include'
ccversion='', gccversion='4.2.1 Compatible Apple Clang 4.0
(tags/Apple/clang-418.0.60)', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='clang -mmacosx-version-min=10.8', ldflags ='-arch i386 -arch x86_64
-fstack-protector -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib
libs=-ldbm -ldl -lm -lutil -lc
perllibs=-ldl -lm -lutil -lc
libc=, so=dylib, useshrplib=true, libperl=libperl.dylib
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-arch i386 -arch x86_64 -bundle -undefined
dynamic_lookup -L/usr/local/lib -fstack-protector'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT PERL_MALLOC_WRAP
USE_64_BIT_ALL
USE_64_BIT_INT USE_ITHREADS USE_LARGE_FILES
USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API
Locally applied patches:
/Library/Perl/Updates/<version> comes before system perl directories
installprivlib and installarchlib points to the Updates directory
Built under darwin
Compiled at Jun 20 2012 13:55:28
%ENV:
PERL5LIB="/path/to/lib"
@INC:
/path/to/lib
/Library/Perl/5.12/darwin-thread-multi-2level
/Library/Perl/5.12
/Network/Library/Perl/5.12/darwin-thread-multi-2level
/Network/Library/Perl/5.12
/Library/Perl/Updates/5.12.4/darwin-thread-multi-2level
/Library/Perl/Updates/5.12.4
/System/Library/Perl/5.12/darwin-thread-multi-2level
/System/Library/Perl/5.12
/System/Library/Perl/Extras/5.12/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.12
.
$ uname -a
Darwin somehost.local 12.4.0 Darwin Kernel Version 12.4.0: Wed May 1
17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64 x86_64
$ gcc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
5658) (LLVM build 2336.11.00)
XCode: Version 4.6.3 (4H1503)
Commandline Tools: Updated to the latest