I need a method to run on the main thread in C++ Builder 2009. Reading http://docwiki.embarcadero.com/Libraries/XE2/en/System.Classes.TThread.Synchronize it looks like they added the Synchronize functionality in XE2. Is there a way to do this in C++ Builder 2009?
C++ Builder 2009 Synchronize
794 Views Asked by James Oravec At
1
There are 1 best solutions below
Related Questions in C++
- C++ using std::vector across boundaries
- Linked list without struct
- Connecting Signal QML to C++ (Qt5)
- how to get the reference of struct soap inherited in C++ Proxy/Service class
- Why we can't assign value to pointer
- Conversion of objects in c++
- shared_ptr: "is not a type" error
- C++ template using pointer and non pointer arguments in a QVector
- C++ SFML 2.2 vectors
- Lifetime of temporary objects
- I want to be able to use 4 different variables in a select statement in c ++
- segmentation fault: 11, extracting data in vector
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- How can I print all the values in this linked list inside a hash table?
- Configured TTL for A record(s) backing CNAME records
Related Questions in SYNCHRONIZATION
- How to avoid concurrent access to a resource?
- Multiple jQuery slideshows won't stay in sync
- How to ensure data synchronization across threads within a "safe" area (e.g not in a critical section) without locking everything
- Multiple locks of one method from multiple objects
- laravel sync() equivalent for OneToMany relation
- git - Why reset --hard seems to be always needed
- LDAP Directory Synchronization Tools
- Migrating Nexus repository manager
- Implement two way syncing with Mysql In Iphone
- spin_lock before writing status register
- What's the best way to implement a single consumer, multiple producer scenario using Python?
- Why only mark() and reset() method are synchronized in java.io.InputStream?
- Any tools available for auto syncing the .js files
- Order of execution of Threads waiting for a synchronised block
- No Synchronize Model with Database in Mysql Workbench
Related Questions in C++BUILDER
- working with IdHTTPProxyServer1
- Borland c++: Error while assigning OnChange to another function?
- Alternative to symlink in C++ Builder
- Embarcadero C++Builder: Transitive project dependencies and includes?
- Embarcadero C++Builder: Separate debug/release DLL references possible?
- How i can set rgb color?
- How to use TThread.Synchronize() to retrieve the text of a TEdit control?
- Indy TCP client in thread
- Special character in Borland c++ Builder
- Kylix on Fedora 21
- update statusbar's text property in the form by another form's button's click event
- add event to component in the run time
- Define and build lapsed timer
- How to manipulate large images in Firemonkey?
- Using TChart in C++Builder XE7
Related Questions in C++BUILDER-XE2
- multiple dialogs inside one dfm
- Undefined symbol using enum class
- IDE with C++Builder xe 2 & Scintilla
- C++ Builder TtcpClient
- How to detect the application is about to terminate?
- "403 Forbidden" for TIdTCPClient::Connect() + TIdConnectThroughHttpProxy
- Use TDictionary in C++ Builder XE2
- C++ Builder XE2, TXMLDocument 'DTD is prohibited'
- XE2 XML Attribute can't convert to double
- How to redirect Post requests using TIdHTTPProxyServer
- Embarcadero "Conditional defines" settings - whats the difference?
- XE2 and using ulink
- C++ Builder XE2 - is it possible to debug vcl data library?
- C++ Builder XE2 - different executable name for debug and release version
- C++ Builder XE2 - custom component as part of the project/project group
Related Questions in C++BUILDER-2009
- C++ Builder 2009 Iterate/Recurse through Components on a Form
- Add lots of seconds to TDateTime in C++Builder 2009
- C++ Builder 2009 UnicodeString Regular Expressions
- vswprintf() without buffer size crashes on small buffer instead of EOF. How to pass buffer size
- Printf used in unfamiliar fashion
- Tips to speed up debugging in Codegear
- TSaveDialog Options ofAllowMultiSelect doesn't work properly on a W10 system
- How to add "vcl.bpi" to BPL project
- How to deploy ONLY .EXE and custom .BPL files?
- C++ Builder 2009 Synchronize
- C++ Builder 2009 - IndySystem120.bpl - Entry Point Not Found
- C++ Builder 2009 - Simple List of Ints
- TRegistry::KeyExists() fails when key is a componentID like {ABC-...} [Rad Studio]
- localization with c++ builder 2009 reinit.pas
- Stop component from executing code in IDE (BCB)
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I do not know where you got that idea from, but
TThread::Synchronize()has existed in the RTL as long asTThreaditself has existed. OriginallySynchronize()was a non-staticmethod, so you could only call it from a liveTThreadobject. Astaticversion was added in Delphi 7 (during the time when C++Builder was dead, so it did not appear in C++ until C++Builder was resurrected in 2006), and anonymous procedure support was added in Delphi/C++Builder 2009. So,TThread::Synchronize(), both static and non-static versions, most definitely exists in C++Builder 2009, which you can verify if you look at the declaration of theTThreadclass inClasses.hpp.