ignorance and not having read all the docs - do those
two calls fix-up the '/' vs '\' issues one has between Unix and Windows?
rick jones
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel
-specific stuff to get
the platform-specific thread IDs so I could make CPU binding calls against them.
rick jones
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
/svn/netperf4/trunk for the stuff done in netserver
and if one is adventuresome, a work-in-progress to get the netperf side
properly event-driven:
http://www.netperf.org/svn/netperf4/branches/gobject_migration
hth,
rick jones
___
gtk-app-devel-list
might be able to use g_main_context_iteration instead to
allow the code that wants to wait to let the loop run to let the test
state to be updated etc etc.
Are there any non-trivial caveats in using g_main_context_iteration?
rick jones
tell tests to enter init
wait for tests to enter init
tell
- working code
http://www.netperf.org/svn/netperf4/branches/gobject_migration - code
in transition
rick jones
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
that
the g_option_mumble stuff is emitting the equivalent to a usage string
for --help I want to use that rather than build a second one in parallel.
rick jones
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk
://developer.gnome.org/doc/API/2.0/glib/glib-Commandline-option-parser.html
didn't mention one - before I use something I find from source I'd want
to check that it was simply an oversight in the api docs :)
thanks,
rick jones
___
gtk-app-devel-list mailing list
Returns the value associated with key
under group_name as an integer. and I suspect that was meant to be
Returns the value associated with key under group_name as a double.
instead.
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http
be somewhere in:
http://www.netperf.org/svn/netperf4/trunk/src/
I think it will be in netlib.c - the routine is called launch_pad
rick jones
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel
.
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
.
Others will have far more informed asnwers than I but I thought I'd ask
- wouldn't you use some other fundamental type if you were storing a
pointer? I'm thinking when one goes to 64-bit or has code snippets
copied into a 64-bit application that mixing int and pointer would be
bad news.
rick
(again).
It
bombed out silently last time leaving lockfiles in place (and archives
unsearchable). Please bear with us while we try to get it sorted out. --
GNOME sysadmin team.
rick jones
___
gtk-app-devel-list mailing list
gtk-app-devel-list
need to build a shared/dynamic library.
rick jones
still only getting started with all this...
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
.
I've run into this a couple times while porting netperf4.
rick jones
portable adj, code that compiles under more than one compiler
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel
John Cupitt wrote:
On 5/17/06, Rick Jones [EMAIL PROTECTED] wrote:
I handle this by making my own .pc file for my library. It's fairly
easy to get your configure script to generate one and install it
correctly, but I could post an example if you like.
One you have a mylibrary.pc installed
(gee, does my knowledge of terms show?-) of a netserver and list
the tests with their own column headings and such.
thanks for any pointers,
rick jones
an example of a netperf4 config file, with just one netserver, in its
native XML form can be seen here:
http://www.netperf.org/svn/netperf4
://developer.gnome.org/doc/API/2.0/glib/glib-Date-and-Time-Functions.html#g-get-current-time
rick jones
Seems that GetSystemTimeAdjustment is involved in finding the precision
of clock time:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base
to porting/running netperf4 on 64-bit Windows, not just the
32-bit Windows where I have it running at the moment.
rick jones
http://www.netperf.org/svn/netperf4/branches/glib_migration
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org
quantity
rather than 32.
sincerely,
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
to
include the suffix so you can, and perhaps should (?) drop the .so
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
that --cflags and --libs can contain
compiler-specific options. it feels buggy but I cannot confirm it -
at the very least, it makes life interesting when glib was compiled
with a compiler other than the one you want to use for your application.
rick jones
it was told to -export-dynamic?
Anyway, I'll try adding the -brtl and see what happens. Thanks,
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
Perhaps I'm missing a side-effect of one of the g_source functions, but
where in the application does accept() get called?
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
.
You may find that recoding things to pass a function pointer is the more sane
way to work around it. ;)
Yep :(
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
it is something really worth worrying
about or should I just blythly ignore it and move-on?
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
Michael L Torrie wrote:
On Wed, 2006-04-05 at 15:30 -0700, Rick Jones wrote:
which seems to be an issue with the callback function field of the
GOptionEntry. Do folks think it is something really worth worrying
about or should I just blythly ignore it and move-on?
While it appears
and
-Wl,--export-dynamic on the floor which may or may not be OK and
while looking into that I came across the export and no-export
flavors of gmodule pkg-config packages.
rick jones
FWIW, it would seem that the GCC with Xcode for 10.3.9 is 3.3 which also
does not grok -pthread under OSX, so
, then at least
valgrind output will help give more information about the path - as
would say a backtrace from a debugger.
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
with Bull's precompiled bits, or if anyone has more
up-to-date rpms for AIX I suppose.
sincerely,
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
passed.
at least that would be my first take
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
including the .dll,
g_module_build_path() doesn prepend lib.
is that full absolute name, or a full basename?
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
Tor Lillqvist wrote:
Rick Jones writes:
If one specifies the full name of the dll including the .dll,
g_module_build_path() doesn prepend lib.
is that full absolute name, or a full basename?
read the code? ;)
you guys are just like my mother. when I was growing up and asked her
how
Tor Lillqvist wrote:
Rick Jones writes:
http://developer.gnome.org/doc/API/2.0/glib/glib-Dynamic-Loading-of-Modules.html#g-module-build-path
which reads:
For example, calling g_module_build_path() on a Linux system with a
directory of /lib and a module_name of mylibrary
there was a g_option_mumble() call one could make
to do that but don't see one in the API reference.
Does such a thing exist?
thanks,
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
in the runtime.
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
HU Li wrote:
Dear Rick,
Thank you very much. Then how can I change this path, i.e.,
/usr/local/bin/_inst.17461_, to another directory? I think it must be
specified in one configuration file.
I'm a little sketchy there, but perhaps the --prefix option to configure?
rick jones
Best regards
is read-only, or perhaps your user id does
not have sufficient permissions to put files there.
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
control_channel = g_io_channel_unix_new(listen_sock);
#endif
Based on an assumption of symmetry, I took a wild guess that it would be
g_io_channel_win32_get_socket but that doesn't seem to be the case.
thanks,
rick jones
___
gtk-list mailing list
gtk-list
if there
was a separate _socket call to register the thing... anyway, it seems to
work :)
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
.
sincerely,
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
to the remote, we got the reply, the
timer event happened the first time and wrote hello world again, and it
seems we got it back from the remote, but the next timer event didn't
seem to happen.
rick jones
#include glib.h
#include sys/types.h
#ifndef G_OS_WIN32
#include netdb.h
#include sys
are to
have the parent receive that stuff from the child rather than have the
parent set them for the child?
thanks,
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
the __cdecl to the atexit declaration
in gutil.h change is safe?
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-list
Tor Lillqvist wrote:
Rick Jones writes:
I was wondering about the status of IO Channels under Windows -
specificially with respect to SOCKETs (the capitalization is
Windows', not mine :) I ask because:
Currently full support is available on UNIX platforms, support for
Windows is only
Tor Lillqvist wrote:
Rick Jones writes:
the first complaint out of the
compiler (among many :) is that in line 239 of gutils.h atexit is being
redefined with different type modifiers (error C2373)
Hmm, does it help to make the declaration
int __cdecl atexit(void (__cdecl *)(void
Rick Jones wrote:
Tor Lillqvist wrote:
Hmm, does it help to make the declaration
int __cdecl atexit(void (__cdecl *)(void));
instead?
I thought about trying that, which then got me in the fun of trying to
use notepad :) I'll see about moving the file around to where it can be
edited
et al, and then calls into the test code.
The one problem there is it seems to preclude changing the affinity
later, which is something I could do when the main netserver thread was
making the affinity calls.
rick jones
___
gtk-list mailing list
Sebastian Wilhelmi wrote:
Hi Rick,
How about a g_native_thread_id() call?-)
What should be returned by that? Something like
#define g_native_thread_id(thread) ((void*)thread)
just for exporting something, that no-one should use? Doesn't sound very
convincing.
What can I say,
Tor Lillqvist wrote:
Rick Jones writes:
I'd not heard of wordpad - and it doesn't seem to be on
the system to which I have access - pointer?
That would be odd as it is bundled. Look in Start Menu:Accessories.
ah, well, there it is. i just couldn't say wordpad from a command
window
Tor Lillqvist wrote:
Rick Jones writes:
int __cdecl atexit(void (__cdecl *)(void));
did indeed make the error go away when compiling under the DDK.
What compiler is used in that case, BTW, as I get no errors or
warnings when compiling a program that includes both stdlib.h (where
/doc/API/2.0/glib/glib-IO-Channels.html
says:
Currently full support is available on UNIX platforms, support for
Windows is only partially complete.
thanks,
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
http://mail.gnome.org/mailman/listinfo
as my Windows knowledge is nearly
nil and I've only just begun with glib.
I did a _brief_ search on www.microsoft.com for atexit and some of the
first hits which appeared seem to say that atexit was:
int atexit (void(__cdecl * func)(void))
rick jones
Roman Toenshoff wrote:
* Rick Jones [EMAIL PROTECTED] [060216 20:55]:
Ah, did you teach cairo where to find whatever it wanted from stdint.h? Was
cairo's configure script missing a check for stdint.h to allow for
conditional include? Regardless by all means feed those changes back.
Hmm, i
also check
software.hp.com
what sort of specific problems are you encountering? i'm far from a portability
expert, but i have some interest in gtk on ux via netperf4 (http://www.netperf.org/)
rick jones
___
gtk-list mailing list
gtk-list@gnome.org
Actually, the current IA64/IPF HP-UX release is 11.22 - aka 11i v 1.6 :)
I know
Apologies for pointing-out the known - I've been conditioned by seeing
lots of other folks getting confused by the releases.
We normally build on 11.20 and test the binary on 11.22 also. %99 it
works.
OK.
and LDFLAGS
in the gtk configure :)
rick jones
--
portable adj, code that compiles under more than one compiler
these opinions are mine, all mine; HP might not want them anyway... :)
feel free to post, OR email to raj in cup.hp.com but NOT BOTH
at the includes
and the libraries. I've not verified though that all the makefiles
are actually honouring that.
rick jones
___
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list
after experimenting for a while I've found out, that it's probably a
bug in /bin/sh of Solaris 2.7 because:
If it is a bug in Solaris 2.7 /bin/sh it is likely the same bug in
HP-UX 11.11 /bin/sh as I encounter the same error.
rick jones
___
gtk
of
gdk_pixbuf__jpeg_image_begin_load with a different storage class
specifier: gdk_pixbuf__jpeg_image_begin_load will have internal
linkage.^M
Again, this should be reported.
109617
thanks for being reasonably kind to the newbie :)
rick jones
--
Wisdom Teeth are impacted, people are affected by the effects of events
is looking for a char *, but block_buf is guchar
the warning on line 1622 is another one of those literal strings things
I think.
there are a number of other things along these lines, but this email is
long enough as it is. if folks would like, I can provide the typescript
of the compilation.
rick
60 matches
Mail list logo