Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: QCView and multithreading



I am using QC composition in application and need to read output image from "Video Input". When I do it in method that is called by NSTimer everything works fine, but when I try to execute this method from CoreAudio IO proc, program runs for a few seconds and crashes with NBTVSource has exited due to signal 10 (SIGBUS).
Here basically what I am trying to do:

The QCView is not thread-safe: it's running on the main thread and you're trying to access it from the CoreAudio IO thread. Try using a QCRenderer instead and make sure it's accessed exclusively on one thread at a time.



________________________________________________________ Pierre-Olivier Latour email@hidden Quartz Composer Architect Graphics & Imaging Team

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden

This email sent to email@hidden
References: 
 >QCView and multithreading (From: Sergei Ludanov <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.