On Aug 12, 2010, at 12:56 AM, Ruslan Zasukhin wrote:
Hi Guys,
One of Valentina users have show us this text from latest REALBasic
release
notes.
The ODBC database plugin now has some feature parity with MySQL,
PostgreSQL
and REAL Server plugins - it no longer blocks the REALbasic threads
when
calling SQLSelect and SQLExecute.
Anybody know what this means and how this was made?
Above picture is next as I understand:
REALbasic thread -> plugin func -> remote DBMS
DBMS is thrid party app, which can do call e.g. 30 second.
As I understand, since RB has cooperative threads, and there is no
call
yield() in such plugin func, then the whole RB itself hangs. Right?
Now question is:
* does RB SDK have some new features to resolve this?
* or other ways offered?
* or this is hidden API of RB ?
I'm not certain of the details for the ODBC plugin BUT I do know that
for PostgreSQL, mysql etc they all have an async API as well as a
synchronous one.
The async API's are used and those allow the calling thread/process to
simply wait and do other work while the SQL runs.
I'm fairly certain the ODBC API has async operations like this as well
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>