[gtkada] GTK-Ada and tasking.

prsa at systems.saab.se prsa at systems.saab.se
Mon May 7 17:01:59 CEST 2001


Resend since my e-mail adress was changed.
And I am still a member i hope.
/Per
---------------------- Forwarded by PRSA/CelsiusTech on 2001-05-07 17:00
---------------------------


PRSA
2001-05-07 09:05

To:   gtkada at gtkada.eu.org
cc:
Subject:  GTK-Ada and tasking.

When i execute the MIT-server i get the folowing errors.

Gdk-ERROR **: file gdkgc-win32.c: line 872 (gdk_gc_predraw): assertion failed: (data->xgc == NULL)
aborting...
abnormal program termination
Process run exited abnormally with code 3
Runing
     Windows NT4
     GNAT 3.14a
     GtkAda 1.3.11


My intent is to manke the object mit_server_main thrad-safe by putting
a gdk.threads.enter and gdk.threads.leave around operatons to be called
from working tasks.

Am i missing somthing fundamental or...

/Per Sandberg


Attached are the example files.
(See attached file: mit_server_main_pkg-callbacks.ads)(See attached file: mit_server.adb)(See attached file: mit_server_main_pkg.adb)(See attached
file: mit_server_main_pkg.ads)(See attached file: mit_server_main_pkg-callbacks.adb)(See attached file: callbacks_mit_server.ads)



-------------- next part --------------
A non-text attachment was scrubbed...
Name: mit_server_main_pkg-callbacks.ads
Type: application/octet-stream
Size: 1338 bytes
Desc: not available
Url : /pipermail/gtkada/attachments/20010507/2a8dfa7f/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mit_server.adb
Type: application/octet-stream
Size: 768 bytes
Desc: not available
Url : /pipermail/gtkada/attachments/20010507/2a8dfa7f/attachment-0001.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mit_server_main_pkg.adb
Type: application/octet-stream
Size: 10288 bytes
Desc: not available
Url : /pipermail/gtkada/attachments/20010507/2a8dfa7f/attachment-0002.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mit_server_main_pkg.ads
Type: application/octet-stream
Size: 2339 bytes
Desc: not available
Url : /pipermail/gtkada/attachments/20010507/2a8dfa7f/attachment-0003.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mit_server_main_pkg-callbacks.adb
Type: application/octet-stream
Size: 3743 bytes
Desc: not available
Url : /pipermail/gtkada/attachments/20010507/2a8dfa7f/attachment-0004.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: callbacks_mit_server.ads
Type: application/octet-stream
Size: 372 bytes
Desc: not available
Url : /pipermail/gtkada/attachments/20010507/2a8dfa7f/attachment-0005.obj 


More information about the gtkada mailing list