ABSTRACT

Protothreads thread environment and mechanism, and realize the double parallel processing of SCM information push and subscription agreement with the Arduino.

2 GENERAL INTRODUCTION OF PROTOTHREADS

Protothrcads, designed by a Swedish scientists Adam Dunkels, is a new thread programming method. Protothrcads can realize the control of sequential flow without using complicated mechanism of state machine, and it also can be used in the operating system.