tag:blogger.com,1999:blog-2349434231090974738.post3177806520465137348..comments2023-10-24T19:15:52.177+01:00Comments on Advanced C++ with Examples: Synchronous and Asynchronous calls in C++Zahid Ghadialyhttp://www.blogger.com/profile/11618208626682295272noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-2349434231090974738.post-74386659419637981532014-09-16T13:53:34.248+01:002014-09-16T13:53:34.248+01:00Please feel free to post an example.Please feel free to post an example.Zahid Ghadialyhttps://www.blogger.com/profile/11618208626682295272noreply@blogger.comtag:blogger.com,1999:blog-2349434231090974738.post-5653271989338692372014-09-16T13:39:21.222+01:002014-09-16T13:39:21.222+01:00Completely wrongCompletely wrongAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-2349434231090974738.post-83665643913916419802012-03-14T21:56:58.608+00:002012-03-14T21:56:58.608+00:00technically very incorrect and misguiding definiti...technically very incorrect and misguiding definition<br /><br />function call by one thread not blocking another thread - usually happens unless blocked using some synchronization construct , does not make the function asynchronous. Asynchronous is different than being thread safe. Thread safe functions can be synchronous and asynchronous.<br /><br />Also there is a subtle difference between asynchronous function and returning from a function. An asynchronous call means you return immediately from function and resume the work (Note: you have to return whether it is synchronous/asynchronous function in order to execute ahead ) , the difference is in asynchronous functions you do not have to finish the work to move ahead , you just delegate the work which will be executed at some time slice in the immediate future.Anonymousnoreply@blogger.com