You can subscribe to this list here.
2006 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2011 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Leinhos, H. A C. N. N. <hen...@na...> - 2011-04-05 16:31:02
|
Attached is a very crude implementation of ring buffer support. I needed *something* to start with, so here it is! Henry |
From: Leinhos, H. A C. N. N. <hen...@na...> - 2011-04-04 12:43:17
|
Hi, It appears that wait_for_token() in lib/lsemLib.c returns the wrong status for NO_WAIT timeouts. Attached is a simple patch correcting the problem. Comments? Anyone? Regards, Henry |
From: Leinhos, H. A C. N. N. <hen...@na...> - 2009-12-18 18:26:06
|
Hi, I had similar trouble (with changes in syscall definitions). The attached patch should get things rolling. Regards, Henry -----Original Message----- From: Heinz-Peter Hirsch [mailto:hei...@ut...] Sent: Fri 12/18/2009 12:24 PM To: vxworks Subject: [V2lin-general] newbie Hi! I have download the version 0.2 and tried to compile them. Got the following messages: Makefile:41: warning: overriding commands for target `clean' rules.mk:29: warning: ignoring old commands for target `clean' cc -M *.c > .deps.mk cc: *.c: No such file or directory cc: no input files make: [.deps.mk] Error 1 (ignored) Makefile:41: warning: overriding commands for target `clean' rules.mk:29: warning: ignoring old commands for target `clean' make -C lib make[1]: Entering directory `/home/hirschh/work/C4/v2lin_v02/lib' cc -M -I../lib -g -D _USR_SYS_INIT_KILL -Wall -Wno-format -Wno-unused-label -Wno-unused-variable -fmessage-length=0 -fPIC *.c > .deps.mk make[1]: Leaving directory `/home/hirschh/work/C4/v2lin_v02/lib' make[1]: Entering directory `/home/hirschh/work/C4/v2lin_v02/lib' cc -I../lib -g -D _USR_SYS_INIT_KILL -Wall -Wno-format -Wno-unused-label -Wno-unused-variable -fmessage-length=0 -fPIC -c -o lkernelLib.o lkernelLib.c cc -I../lib -g -D _USR_SYS_INIT_KILL -Wall -Wno-format -Wno-unused-label -Wno-unused-variable -fmessage-length=0 -fPIC -c -o ltaskLib.o ltaskLib.c cc -I../lib -g -D _USR_SYS_INIT_KILL -Wall -Wno-format -Wno-unused-label -Wno-unused-variable -fmessage-length=0 -fPIC -c -o lmsgQLib.o lmsgQLib.c lmsgQLib.c: In function 'fetch_msg_from': lmsgQLib.c:358: warning: cast from pointer to integer of different size cc -I../lib -g -D _USR_SYS_INIT_KILL -Wall -Wno-format -Wno-unused-label -Wno-unused-variable -fmessage-length=0 -fPIC -c -o lsemLib.o lsemLib.c cc -I../lib -g -D _USR_SYS_INIT_KILL -Wall -Wno-format -Wno-unused-label -Wno-unused-variable -fmessage-length=0 -fPIC -c -o lwdLib.o lwdLib.c cc -I../lib -g -D _USR_SYS_INIT_KILL -Wall -Wno-format -Wno-unused-label -Wno-unused-variable -fmessage-length=0 -fPIC -c -o v2ldebug.o v2ldebug.c v2ldebug.c:27: error: expected declaration specifiers or '...' before 'gettid' v2ldebug.c:29: warning: return type defaults to 'int' v2ldebug.c: In function '_syscall0': v2ldebug.c:30: error: storage class specified for parameter '_argv' v2ldebug.c:32: error: parameter 'start_tv' is initialized v2ldebug.c:33: error: parameter 'trace' is initialized v2ldebug.c:34: error: parameter 'prev_tv' is initialized v2ldebug.c:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token v2ldebug.c:57: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token v2ldebug.c:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token v2ldebug.c:67: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token v2ldebug.c:27: error: old-style parameter declarations in prototyped function definition v2ldebug.c:27: error: parameter name omitted v2ldebug.c:95: error: expected '{' at end of input make[1]: *** [v2ldebug.o] Error 1 make[1]: Leaving directory `/home/hirschh/work/C4/v2lin_v02/lib' make: *** [all] Error 2 I am using this gcc version: gcc (SUSE Linux) 4.4.1 [gcc-4_4-branch revision 150839] Any idea for help? Thanks a lot! Peter... ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ V2lin-general mailing list V2l...@li... https://lists.sourceforge.net/lists/listinfo/v2lin-general |
From: Heinz-Peter H. <hei...@ut...> - 2009-12-18 17:24:49
|
Hi! I have download the version 0.2 and tried to compile them. Got the following messages: Makefile:41: warning: overriding commands for target `clean' rules.mk:29: warning: ignoring old commands for target `clean' cc -M *.c > .deps.mk cc: *.c: No such file or directory cc: no input files make: [.deps.mk] Error 1 (ignored) Makefile:41: warning: overriding commands for target `clean' rules.mk:29: warning: ignoring old commands for target `clean' make -C lib make[1]: Entering directory `/home/hirschh/work/C4/v2lin_v02/lib' cc -M -I../lib -g -D _USR_SYS_INIT_KILL -Wall -Wno-format -Wno-unused-label -Wno-unused-variable -fmessage-length=0 -fPIC *.c > .deps.mk make[1]: Leaving directory `/home/hirschh/work/C4/v2lin_v02/lib' make[1]: Entering directory `/home/hirschh/work/C4/v2lin_v02/lib' cc -I../lib -g -D _USR_SYS_INIT_KILL -Wall -Wno-format -Wno-unused-label -Wno-unused-variable -fmessage-length=0 -fPIC -c -o lkernelLib.o lkernelLib.c cc -I../lib -g -D _USR_SYS_INIT_KILL -Wall -Wno-format -Wno-unused-label -Wno-unused-variable -fmessage-length=0 -fPIC -c -o ltaskLib.o ltaskLib.c cc -I../lib -g -D _USR_SYS_INIT_KILL -Wall -Wno-format -Wno-unused-label -Wno-unused-variable -fmessage-length=0 -fPIC -c -o lmsgQLib.o lmsgQLib.c lmsgQLib.c: In function ‘fetch_msg_from’: lmsgQLib.c:358: warning: cast from pointer to integer of different size cc -I../lib -g -D _USR_SYS_INIT_KILL -Wall -Wno-format -Wno-unused-label -Wno-unused-variable -fmessage-length=0 -fPIC -c -o lsemLib.o lsemLib.c cc -I../lib -g -D _USR_SYS_INIT_KILL -Wall -Wno-format -Wno-unused-label -Wno-unused-variable -fmessage-length=0 -fPIC -c -o lwdLib.o lwdLib.c cc -I../lib -g -D _USR_SYS_INIT_KILL -Wall -Wno-format -Wno-unused-label -Wno-unused-variable -fmessage-length=0 -fPIC -c -o v2ldebug.o v2ldebug.c v2ldebug.c:27: error: expected declaration specifiers or ‘...’ before ‘gettid’ v2ldebug.c:29: warning: return type defaults to ‘int’ v2ldebug.c: In function ‘_syscall0’: v2ldebug.c:30: error: storage class specified for parameter ‘_argv’ v2ldebug.c:32: error: parameter ‘start_tv’ is initialized v2ldebug.c:33: error: parameter ‘trace’ is initialized v2ldebug.c:34: error: parameter ‘prev_tv’ is initialized v2ldebug.c:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token v2ldebug.c:57: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token v2ldebug.c:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token v2ldebug.c:67: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token v2ldebug.c:27: error: old-style parameter declarations in prototyped function definition v2ldebug.c:27: error: parameter name omitted v2ldebug.c:95: error: expected ‘{’ at end of input make[1]: *** [v2ldebug.o] Error 1 make[1]: Leaving directory `/home/hirschh/work/C4/v2lin_v02/lib' make: *** [all] Error 2 I am using this gcc version: gcc (SUSE Linux) 4.4.1 [gcc-4_4-branch revision 150839] Any idea for help? Thanks a lot! Peter... |
From: Chouinard, L. <Luc...@tr...> - 2009-06-04 14:47:16
|
Not sure if there is still people actively monitoring this list. FYI Using v2 with extensive use of threads and messages queues I found what looked like an abba deadlock situation. Here's the chnage for it. *** lmsgQLib.c.old 2009-06-03 20:40:33.000000000 -0400 --- lmsgQLib.c 2009-06-03 08:12:30.000000000 -0400 *************** *** 374,394 **** /* ** New queue_head pointer overflowed end of queue... ** Wrap the queue_head pointer to the first message address ** in the queue. */ queue->queue_head = queue->first_msg_in_queue; } TRACEF(" new queue_head @ %p", queue->queue_head); queue->msg_count--; ! /* ** Now see if adequate space was freed in the queue and alert any tasks ** waiting for message space if adequate space now exists. */ if (queue->first_write_susp != (task_t *) NULL) { if (queue->msg_count <= (queue->msgs_per_queue - 1)) { TRACEF("\r\nqueue @ %p freed msg space for queue list @ %p", queue, &(queue->first_write_susp)); /* --- 374,406 ---- /* ** New queue_head pointer overflowed end of queue... ** Wrap the queue_head pointer to the first message address ** in the queue. */ queue->queue_head = queue->first_msg_in_queue; } TRACEF(" new queue_head @ %p", queue->queue_head); queue->msg_count--; ! ! /* LUC : ABBA condition between those 2 call stacks: ! pthread_mutex_lock(&(queue->qfull_lock)); ! ! fetch_msg_from ! msgQReceive ! ! waitToSend ! msgQSend ! ! Need to free the queue_lock before grabbing the qfull_lock. ! */ ! pthread_mutex_unlock(&queue->queue_lock); ! /* ** Now see if adequate space was freed in the queue and alert any tasks ** waiting for message space if adequate space now exists. */ if (queue->first_write_susp != (task_t *) NULL) { if (queue->msg_count <= (queue->msgs_per_queue - 1)) { TRACEF("\r\nqueue @ %p freed msg space for queue list @ %p", queue, &(queue->first_write_susp)); /* *************** *** 1119,1138 **** --- 1131,1151 ---- else error = S_objLib_OBJ_TIMEOUT; TRACEF("...timed out"); } else { /* ** A message was sent to the queue for this task... ** Retrieve the message and clear the queue contents. */ msglen = (int) fetch_msg_from(queue, (char *) msgbuf, buflen); TRACEF("...rcvd queue msg @ %p", msgbuf); + goto exit; /* LUC : ABBA fix */ } /* ** Unlock the mutex for the condition variable. */ unlock: pthread_mutex_unlock(&queue->queue_lock); exit: {} /* ** Clean up the opening pthread_cleanup_push() |
From: Vincent B. <vb...@ne...> - 2006-01-16 15:55:46
|
Is there someone active on that list ? |