FolderItem in Thread on Linux

Hi,

I have program that process files in thread.
Files are in array of folderitem and array is on window (scope is public).
On linux this files(i).Exists always return False from thread.
It works fine in windows and mac. It also works fine if I don’t use thread.

Do I just forget threads in Linux or is there some workaround?

Xojo 2015 release 3.1 (Linux Mint 17.2 32bit)
Btw. same in raspberry pi also.

Jukka

Please file a bug report with an example project.

Well, couldn’t reproduce it on new project.
And I found stupid error from my code that was causing it :slight_smile:

So my apologies, threads in linux works perfectly.

With this I learn:

  1. “folderitem.Name” works even if “folderitem.exists” is false
  2. “stat -c ‘%Y %n’ " gives you only filename and "stat -c ‘%Y %n’ ./” gives you filename with full path.

Jukka