Skip to content

Future Work

Peter Corke edited this page Sep 4, 2018 · 5 revisions

STL has been developed using MATLAB 2018bPRE under MacOS High Sierra.

Future development possibilities include:

  1. Thread priority
  2. Handling globals
  3. Passing more complex arguments to threads, eg. structs
  4. Add condition variables as an additional synchronization mechanism
  5. Support thread cancelation points
  6. Support thread exit, and getting that return value to the output of thread_join
  7. Deallocate semaphores and mutexes
  8. Log file redirection to a file or a system logger
  9. Specify log file format
  10. Function to control error action, exit or carry on.
  11. Bound checking on all passed parameters, create/use an ASSERT macro
  12. Turn off warnings about infinite loops
  13. Put multiple thread definitions in the one file
  14. Wrap a simple comms channel using JSON over TCP/IP.
  15. Provide integration with a local webserver, have web CGI scripts interact with STL threads. A bit like Flask for Python.

Some of these likely bang up against limitations in MATLAB Coder and will not be achievable, eg. JSON functions do not (yet) support code generation.

Clone this wiki locally