Revision: 56310
http://sourceforge.net/p/brlcad/code/56310
Author: mohitdaga
Date: 2013-07-29 20:12:50 +0000 (Mon, 29 Jul 2013)
Log Message:
-----------
Fixed bug in raytracer after applying modified icv. Apparently
icv_image_writeline calls bu_malloc for unsigned char data, which in turn
acquires the BU_SEM_SYSCALL. Ran benchamark and raytracer runs without errors.
Modified Paths:
--------------
brlcad/trunk/src/rt/view.c
Modified: brlcad/trunk/src/rt/view.c
===================================================================
--- brlcad/trunk/src/rt/view.c 2013-07-29 18:45:54 UTC (rev 56309)
+++ brlcad/trunk/src/rt/view.c 2013-07-29 20:12:50 UTC (rev 56310)
@@ -567,10 +567,8 @@
}
}
if (bif != NULL) {
- bu_semaphore_acquire(BU_SEM_SYSCALL);
/* TODO : Add double type data to maintain resolution */
icv_image_writeline(bif, ap->a_y, (unsigned char
*)scanline[ap->a_y].sl_buf, ICV_DATA_UCHAR);
- bu_semaphore_release(BU_SEM_SYSCALL);
} else if (outfp != NULL) {
size_t count;
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