need example help #23506
            
              need example help
            
            #23506
          
          
        -
| want an example code of thread and pthread  the problem is that if i use wasm-dis panda.wasm -o panda.wat if i include -pthread it give me this Error TypeError: WebAssembly.instantiate(): Import #0 "wasi_snapshot_preview1" when loading panda.wasm | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            kripken
          
      
      
        Jan 27, 2025 
      
    
    Replies: 1 comment 1 reply
-
| Our pthread support requires Web APIs (for spawning a web worker, etc). It therefore requires both wasm and js. | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
      Answer selected by
        xalteropsx
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Our pthread support requires Web APIs (for spawning a web worker, etc). It therefore requires both wasm and js.