AnsweredAssumed Answered

How to use the ssync() function?

Question asked by seabeam on Mar 7, 2011
Latest reply on Apr 20, 2015 by Daniel.Wang

Hi everyone:

  I've read VisualDSP++ 5.0 C/C++ Compiler and Library Manual for Blackfin Processors and searched on this site, but I find only information that the ssync() function is used for system synchronization. It's often be used after writing a asynchronous memory.

  It's defined in /include/builtins.h:

  void __builtin_ssync(void);

...

  #pragma inline

  #pragma always_inline
  static void ssync(void) {
    __builtin_ssync();
  }

...

 

  I wonder if anyone would tell me when I should use the ssync() function? And where is the source code of the  __builtin_ssync() function?

 

                                                                                                                                                                                    Thank you in anticipation!

Outcomes