Revision: 56317
          http://sourceforge.net/p/brlcad/code/56317
Author:   brlcad
Date:     2013-07-30 05:04:50 +0000 (Tue, 30 Jul 2013)
Log Message:
-----------
if icv_write_pixel does not require locking elsewhere, why does it require it 
here?

Modified Paths:
--------------
    brlcad/trunk/src/rt/view.c

Modified: brlcad/trunk/src/rt/view.c
===================================================================
--- brlcad/trunk/src/rt/view.c  2013-07-30 05:03:49 UTC (rev 56316)
+++ brlcad/trunk/src/rt/view.c  2013-07-30 05:04:50 UTC (rev 56317)
@@ -315,9 +315,7 @@
                p[2] = b;
 
                if (bif != NULL) {
-                   bu_semaphore_acquire(BU_SEM_SYSCALL);
                    icv_image_writepixel(bif, ap->a_x, ap->a_y, ap->a_color);
-                   bu_semaphore_release(BU_SEM_SYSCALL);
                } else if (outfp != NULL) {
                    bu_semaphore_acquire(BU_SEM_SYSCALL);
                    if (bu_fseek(outfp, (ap->a_y*width*pwidth) + 
(ap->a_x*pwidth), 0) != 0)

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

Reply via email to