Revision: 56309
http://sourceforge.net/p/brlcad/code/56309
Author: mohitdaga
Date: 2013-07-29 18:45:54 +0000 (Mon, 29 Jul 2013)
Log Message:
-----------
Fixed bug of rtedge after applying modified icv. Apparently icv_image_writeline
usage bu_mallo(..) which in turn acquires semaphore BU_SEM_SYSCALL. Thus there
was a deadlock. After removing this semaphore tested on bz with
10,20,30,40,100,500 process and resultant image was identical and correct.
Modified Paths:
--------------
brlcad/trunk/src/rt/viewedge.c
Modified: brlcad/trunk/src/rt/viewedge.c
===================================================================
--- brlcad/trunk/src/rt/viewedge.c 2013-07-29 16:53:29 UTC (rev 56308)
+++ brlcad/trunk/src/rt/viewedge.c 2013-07-29 18:45:54 UTC (rev 56309)
@@ -816,10 +816,8 @@
/*
* Write to a file.
*/
- bu_semaphore_acquire(BU_SEM_SYSCALL);
/* TODO : Add double type data to maintain resolution */
icv_image_writeline(bif, ap->a_y, scanline[cpu], ICV_DATA_UCHAR);
- bu_semaphore_release(BU_SEM_SYSCALL);
}
if (fbp == FBIO_NULL && outputfile == NULL)
bu_log("rtedge: strange, no end of line actions taken.\n");
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits